centos6.5中安装htop进程管理监控工具

下载最新版的HTOPruby

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 installide

(这时候若是没有安装gcc,会提示:spa

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,接下来还会提示:.net

configure: error: You may want to use --disable-unicode or install libncursesw.

请安装yum install -y ncurses-devel)code

cd ..
rm -rf htop-1.0.2*(这一步可作可不作啦,看你资源空间啦)
相关文章
相关标签/搜索