In this tutorial we’ll learn how to install Htop system monitor on CentOS 7. We will also install and configure its prerequisites. Htop is a Linux process monitoring tool, It is an alternative tool for top command, Which is the standard and the default process Monitoring tool in Linux and Unix Operating System. Unlike top, htop provides a full list of processes running, instead of the top resource-consuming processes. Htop uses color and gives visual information about processor, swap and memory status.
I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install Htop System Monitor on Centos 7
Step 1. First, ensure your system is fully up-to-date by running the following:
yum -y update yum -y groupinstall 'Development Tools' yum -y install ncurses ncurses-devel
Step 2. Installing Htop.
First, download htop 2.0 from Source packages. You can go to stop website or use following command to download htop:
wget http://hisham.hm/htop/releases/2.0.0/htop-2.0.0.tar.gz tar zxvf htop-2.0.0.tar.gz cd htop-2.0.0
Next, run the configure and make script to install and compile htop:
./configure make make install
Once installed, just type htop at a terminal to launch it:
Congratulation’s! You have successfully install and configure Htop on your CentOS 7 server. Thanks for using this tutorial for installing Htop system monitor on CentOS 7 system.