安装Htop
依次输入以下命令:
安装支持组件
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
tar zxvf ncurses-5.9.tar.gz
cd ncurses-5.9
./configure
make
make install
安装Htop
wget http://sourceforge.net/projects/htop/files/htop/1.0.2/htop-1.0.2.tar.gz
tar zxvf htop-1.0.2.tar.gz
cd htop-1.0.2
./configure
make
make install
注:执行./configure; 如果执行报错 configure: error: You may want to use –disable-unicode or install libncursesw. , 表明缺少lib 包, 安装lib包:yum install ncurses-devel