Htop is an interactive process viewer for Linux. Htop has prebuild RPMs available listed per distribution here. CentOS users can use the Redhat binary.
You can also installl htop by compiling it from source. Make sure that you’ve installed the ncurses devel library, with CentOS you can use
yum install ncurses-devel -y
How to compile htop from source
You can find the latest version of htop here. In this example we have used version 2.0.2.
wget http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz -O htop.tar.gz tar zxf htop.tar.gz cd htop* ./configure make make install cd .. rm -rf htop.tar.gz htop*
You can now run the command `htop` and use the interactive process viewer.