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 as apt-get command. Run
sudo apt-get install htopor
yum -y install htopin your terminal After the installation is finished to run htop type
htopcommand in a terminal windows and press enter.
The CPU and Memory section located on the top left gives information about the number of cpu cores with a progress bar in different colors.
This progress bar represents the load of cpu cores. Different colors stand for different things , for example the green color of progress bars in Figure means normal processes.
Up and down arrow keys help you to select a process while left and right allow you to scroll horizontaly.
How do you kill a process ? To kill a process with htop you donâ€™t need the pid, just use the up/down arrow keys to select the process you want to kills and press F9.
Press Enter to send the â€˜killing signalâ€™ or Esc to Cancel. To change the display color press F2 to enter setup and go to colors using arrow keys or mouse.