Unlike Top, its newer sibling - Htop is better in every way. It provides more detailed information, supports colours and is more configurable. Htop is available in the repositories of most distros. However, CentOS (and therefore, RHEL) is not one of them. While it it apparently available in the EPEL repositories, I could not find it for CentOS 4.9. In any event, what we have below are the (simple) steps to install it from the source packages:
sudo prefix.wget -c http://downloads.sourceforge.net/project/htop/htop/0.9/htop-0.9.tar.gz?r=&ts=1304084462&use_mirror=spacetar xvzf htop-0.9.tar.gzhtop-0.9.cd htop-0.9./configure which will check and prepare the configuration for your server. If your installation is missing any packages, it will throw up warnings or errors.make which should build the program and ready it for installation.make install which should install the built program.make uninstall from this directory if you want to remove the program.Hope this helps :)