首先安装rpmforge
Install RPM for CentOS 5.x
32-BIT
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i686.rpm
rpm -Uhv rpmforge-release*.rf.i386.rpm
64BIT
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
rpm -Uhv rpmforge-release*.rf.x86_64.rpm
Install RPM for CentOS 6.x
32-BIT
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
rpm -Uhv rpmforge-release*.rf.i386.rpm
64BIT
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -Uhv rpmforge-release*.rf.x86_64.rpm
然后就可以通过yum安装atop和htop了
yum install atop
yum install htop
原文出自:http://my.oschina.net/nox/blog/221014
时间: 2024-10-25 06:54:28