What is HTOP?
The htop command line tool is very useful for locating what programs are using up more resources than intended. Unlike the top command, htop will provide all of the processes running and not just the top resource abusing ones. Htop provides many filters that you can sort through to show only the information you are looking for. For example if you are running htop and you would like to view the programs using the most RAM, you would hit F6 on your keyboard and select the MEM% filter then hit enter.
How to install HTOP
- Log into your server with root access via SSH.
- Add the htop repository to your servers repo list.wget dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
rpm -ihv epel-release-7-11.noarch.rpm
- Install htop.yum install htop
- Once the installation is complete you may just run the command below to get started.htop
Once you have Htop up and running you should see something similar the image to the right. As you can see in the image to the right HTOP displays how many cores your computer/server has while also including the load on each core. Below your CPU information you can see the RAM being used and the total amount. You can also run the command “man htop” and it will provide you with more options while running this tool.