在CentOS 6.5中安裝htop進程管理監控工具。
下載最新版的HTOP
http://sourceforge.net/projects/htop/
如:
wget http://sourceforge.net/projects/htop/files/latest/download
解壓下載文件並且安裝
如:
tar -zxf htop-1.0.2.tar.gz
cd htop-1.0.2
./configure && make && make install
(這時候如果沒有安裝gcc,會提示:
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/htop-1.0.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
請安裝yum install -y gcc,接下來還會提示:
configure: error: You may want to use --disable-unicode or install libncursesw.
請安裝yum install -y ncurses-devel)
cd ..
rm -rf htop-1.0.2*(這一步可做可不做啦,看你資源空間啦)
更多CentOS相關信息見CentOS 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=14