How to install Htop to monitor your CentOS server
Htop is a command line utility that allows you to view the current processes running on your server. Install Htop from the command line and from the Htop screen. You can see each process and the resources using. including how long the process has been running in the server. This is a great utility to see what people are doing on your server and to find abusive containers so you can suspend them. You can then search each process and terminate them if required. To deploy Htop you will first need to login to your server as the root user and install the Htop repository. Issue the below commands one at a time.
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm rpm -Uhv rpmforge-release*.rf.i386.rpm
Next, you can use yum for CentOS systems or apt-get for Debian or Ubuntu systems to install Htop
Installing Htop in CentOS
yum install htop -y
and finally to run Htop just issue
You should now see the Htop screen like the one below taken from a random server owned by First2Host
You can use the numbers on your keyboard to group screens by process time or resource usage. It’s easier to analyze the information Htop gives you.
How was this article?
You might also like
More from All About Linux
Ioncube Loaders are a piece of software that is used to protect the underlying code in PHP applications. Its aim …