1. 程式人生 > >linux下安裝nmon監控工具

linux下安裝nmon監控工具

註意 tor dha 壓縮 spa eas span project log

1.首先下載壓縮包

wget http://sourceforge.net/projects/nmon/files/download/nmon_x86_12a.zip/download

2.解壓並修改權限

技術分享

chmod +x nmon_x86_rhel52
mv nmon_x86_rhel52 /usr/bin/nmon

3.啟動可能會報如下錯誤,安裝相應包即可;如果沒報,就表示安裝成功,可直接使用

錯誤1:

error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

解決:

yum install ncurses-devel.i686 -y

錯誤2:

我們在執行nmon命令後,退出來時,可能會報這個錯:

sh: /usr/bin/lsb_release: No such file or directory

解決:

yum install redhat-lsb -y

這個命令可能會安裝大概55個包,所以註意一下。

到這裏,就安裝成功了,可以使用了。

linux下安裝nmon監控工具