top--a process viewer that allows the user to interact with it. A text-mode application that is primarily used in a console or X terminal. Currently has a tree-like view of the process, support color themes, can be customized and other features.
Compared to top, Htop contains the following advantages:
1. You can scroll through the list of processes horizontally or vertically to see all the processes and the complete command line.
2. On startup, faster than top.
3. Do not need to enter the process number when killing the process.
4.htop supports mouse operation.
The 5.top is already very old.
Installation Tutorials under CentOS
1. Download the corresponding version to http://pkgs.repoforge.org/htop/
wget http://pkgs.repoforge.org/htop/htop-1.0.2-1.el6.rf.x86_64.rpm
2. Installation
RPM–IVH htop-0.8.3-1.el4.rf.i386.rpm
3. After the program has been installed directly under the command [Root@localhost] #htop, the following drawing will appear.
Installing Support components
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
tar xvfz ncurses-5.9.tar.gz
CD ncurses-5.9
./configure make make
install
Install Htop:
wget http://sourceforge.net/projects/htop/files/htop/0.9/htop-0.9.tar.gz
tar zxvf htop-0.9.tar.gz
CD htop-0.9
./configure make make
install