1.下载源码
wget http://sourceforge.net/projects/htop/files/latest/download
2.上传到tmp目录,并解压
tar xvzf htop-1.0.2.tar.gz
mv htop-1.0.2 /opt/
进入到
cd /opt/htop-1.0.2/
3.编译并安装
./configure && make && make install
4.验证
htop
wget http://sourceforge.net/projects/htop/files/latest/download
tar xvzf htop-1.0.2.tar.gz
mv htop-1.0.2 /opt/
进入到
cd /opt/htop-1.0.2/
./configure && make && make install
htop