CentOS 中安装htop进程管理监控工具
简介:
htop 是一个 Linux 下的交互式的进程监控管理工具,可以用来替换Linux下的top命令,下面就简单介绍下吧
首先下载个较稳定的版本
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.