Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.

My blog about Open Source: Zimbra Mail Server,linux,bash script,centos,linux command...

Install and use htop command in Linux

 

 In this tutorial, How to Install and use htop command in Linux.

Install htop command Linux in Linux

If your use Debian/Ubuntu, The following command line below:

sudo apt install htop

or, If your use Fedora/RHEL/CentOS

sudo dnf install htop

One your done with the installation, In the terminal the basic you use htop command

CPU usage bar

CPU usage bar 

 Memory bar

Memory bar

Green: Memory being utilized by system processes.
Blue: Memory used by buffer pages.
Orange: Memory allocated for cache pages.

Sort processes based on Resource Consumption

 Press F6 as the picture below:

Sort processes based on Resource Consumption

Search for a specific process

Press F3 and you a search prompt as show below:

Search for a specific process

Filter ongoing processes

Press F4 and you a search prompt as show below:

Filter ongoing processes

 Kill process

 Press F9 and you a search prompt as show below:

Kill process

 Customize htop: Press F2

 


post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com

This Blog is protected by DMCA.com