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. But htop on CentOS 7 is more user friendly and output is easy to read compared to the Linux top command.
First add yum repository your system
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm rpm -ihv rpmforge-release*.rf.i686.rpm
Install htop using yum command
yum install htop
After installation, launch htop by entering
Install htop from source code
# wget http://downloads.sourceforge.net/project/htop/htop/1.0.2/htop-1.0.2.tar.gz # tar -xvf htop-1.0.2.tar.gz # cd htop-1.0.2 # ./configure # make # make install
Congratulation’s! You have successfully installed htop.