Linux Server Admin Tools and GNU Benchmark Tools Directory, OpenSource Tools

Install Htop | an interactive process viewer for Linux

Htop

Is a very interactive tui based tool written in C program(using the curses library) by Hisham Muhammad with a group of code contributors. Basically ,htop was written to replace the standard top tool in unix/linux operating system. Htop provides a full list of processes running, instead of the top resource-consuming processes. Htop uses color and gives visual information about processor, swap and memory status

Various Htop features over the standard top command.

Installing htop

RHEL 7 & CentOS 7

# yum install epel-release -y

Once you have installed EPEL repo, you can then install htop using yum.

# yum install htop
# htop

Debian:

The installation process for Debian.

Log in with your root user log in credentials.

# apt-get install htop
# htop

This will install the htop binary in /usr/local/bin/htop .

Run the command htop from shell to monitor the system process.

Some useful htop tips :

 

To set the delay time (in seconds before starting the command) : htop -d <your refesh limit in seconds)

To list only the specific user in the system try -u for exampe : htop -u apache (will list only the process run by the apache user)

Find out the htop help menu by pressing the F1 key after executing the htop command from the command line for more help refer ‘ man help ‘. Cheers!

Htop

External links :

 

Htop Home page :