how to install htop on centos

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:

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

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

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

yum install rpm

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

  • 2 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

how to check VPS Disk I/O

1. Login to root 2. Execute this command dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

Adding Setup text tool on Redhat/Centos

1. login as root 2. do yum install setuptools system-config-securitylevel-tui: for...

how to install Root Kit Hunter (RKHunter) on Centos

This post explains how to install RKHunter  in Linux. Rootkit scanner is a scanning tool. This...

Powered by WHMCompleteSolution