How to install and use htop

How to install and use htop

htop is a Linux tool divided into three section ( CPU and Memory usage information, Load Average Uptime and View of Processes) which allows real time monitoring of the processes in VPS machines.Identifying which process is slowing down your computer is an easy task in htop.
It shows your usage per cpu and very detailed information about each process.
htop does not come installed by default in Linux distributions but installation is as simple.

Ubuntu
sudo apt-get install htop

CentOS
sudo yum -y install epel-release
sudo yum -y install htop

 

To run the command after installation, simple enter the command “htop”.