Install Htop from source
Download the htop source from : http://sourceforge.net/projects/htop/
cd /usr/src/
wget http://downloads.sourceforge.net/project/htop/htop/0.8.3/htop-0.8.3.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fhtop%2F&ts=1283665168&use_mirror=cdnetworks-kr-2tar zxvf htop-0.8.3.tar.gz
cd htop-0.8.3
./configure
yum install ncurses-devel
make all
make install
Htop installation on 64bit centos version 6 RPM Package
wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/htop-0.9-1.el6.rf.x86_64.rpm
rpm -i htop-0.9-1.el6.rf.x86_64.rpm
Htop installation on 32bit centos version 6 RPM Package
wget http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/htop-0.9-1.el6.rf.i686.rpm
rpm -i htop-0.9-1.el6.rf.i686.rpm
rpm -i htop-0.9-1.el6.rf.i686.rpm
Htop installation on 64bit centos RPM Package
and if your linux centos version is 64bit use this instead:
wget http://packages.sw.be/htop/htop-0.8.3-1.el5.rf.x86_64.rpm
rpm -i htop-0.8.3-1.el5.rf.x86_64.rpm
rpm -i htop-0.8.3-1.el5.rf.x86_64.rpm
Htop Installation on 32bit Centos RPM Package
wget http://packages.sw.be/htop/htop-0.8.3-1.rh9.rf.i386.rpm
rpm -i htop-0.8.3-1.rh9.rf.i386.rpm
yum install htop*
How to Use htop
for using htop you can simply run htop command
htop
also there are some other options for example the delay time that is -d
htop -d 2
That the above will delay the refresh time to 2 seconds
To list only the specific user in the system try -u for exampe : htop -u apache (will list only the process run by the apache user)
No comments:
Post a Comment