There are times you want to have a better control over the system processes and usage and also having a better visual of RAM and CPU usage on your server.As You may already know there is a Linux command called top which will show the resources and users cpu usage but it is not good enough to find out every thing in a glance, That for example you should go to the top right to see cpu usage let say it is 50%, then you have to think of your self in your mind that how much it has used the cpu.But by using htop you can see CPU usage of each core colorful and easily.This third party application will work perfectly on Cpanel Centos Servers.
Htop Installation Instruction from RPM
The following will guide you through the installation of this useful statistical software both on x82(32bit) & x64(64bit) centos servers
first ssh to your server and login as root
Htop installation on 64bit centos RPM Package
and if your linux centos version is 64bit use this instead:
rpm -i htop-0.8.3-1.el5.rf.x86_64.rpm
Htop Installation on 32bit Centos RPM Package
rpm -i htop-0.8.3-1.rh9.rf.i386.rpm
If you encountered error such this
failed: No such file or directory
means that you do not have rpm installed so just rin the following command to install rpm and its needed packages
How to Use htop
for using htop you can simply run htop command
also there are some other options for example the delay time that is -d
That the above will delay the refresh time to 2 seconds