htop is an interactive process viewer for Linux, which is a powerful alternative to the ‘top’ utility. Some of the benefits of htop:
- Supports mouse operation
- Color formatted display
- Scroll the list vertically and horizontally to see all processes and complete command lines
- Kill a process through htop
To install htop on CentOS (5.X) via the yum package manager, the rpmforge package repository must be installed. Follow the instructions below to install the following RPM for your architecture (32bit or 64bit).
32-bit
# rpm -Uhv rpmforge-release*.rf.i386.rpm
64-bit
# rpm -Uhv rpmforge-release*.rf.x86_64.rpm
Now that the rpmforge repository is installed, you can install the htop package via yum.