How To Install htop on Linux

How To Install htop on Linux

In this article, I will be going to show how to install HTOP in Linux, it is the best Resource Monitor Tool in Linux distro. htop is a stylish or fancy system-monitor process-manager and process-viewer. It is developed or designed as an alternative of the Unix program top which is by default tool in Unix or Linux distro. It shows all updated lists of the processes running on a computer, normally ordered by CPU usage but you can change if you want any other order. if you want a more colorful and interesting terminal with all information, ‘htop’ might be for you. Here’s a screenshot of htop:

htop running n terminal 2020

Advantages of using htop as a sysadmin:

  • Colored meters show you all CPU load, memory usage, commands, time, user, etc.
  • It supports user communication utilizing the mouse as well as keyboard.
  • Sort process list by CPU%, MEM%, TIME+ running, etc., and in ascending or descending order if you want to change it you can configure it what you want.
  • Fully customizable according to you and your needs.
  • Help menu which lists all possible commands (useful for beginners)

htop is best tool for monitoring the Linux hardware

How To Install htop on Linux:

Installation:

Fedora OS:

# yum install htop
# dnf install htop

On Debian based distro:

# sudo apt-get install htop

Arch Linux based distro:

# sudo pacman -S htop
techdhee@kali:~|⇒ sudo apt install htop
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Suggested packages:
strace
The following NEW packages will be installed:
htop
0 upgraded, 1 newly installed, 0 to remove and 992 not upgraded.
Need to get 92.8 kB of archives.
After this operation, 233 kB of additional disk space will be used.
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 htop amd64 2.2.0-2 [92.8 kB]
Fetched 92.8 kB in 23s (4,091 B/s)
Selecting previously unselected package htop.
(Reading database ... 255564 files and directories currently installed.)
Preparing to unpack .../htop_2.2.0-2_amd64.deb ...
Unpacking htop (2.2.0-2) ...
Setting up htop (2.2.0-2) ...
Processing triggers for kali-menu (2020.1.7) ...
Processing triggers for desktop-file-utils (0.24-1) ...
Processing triggers for mime-support (3.64) ...
Processing triggers for man-db (2.9.0-2) ...
techdhee@kali:~|⇒

htop –help

techdhee@kali:~|⇒ htop --help
htop 2.2.0 - (C) 2004-2019 Hisham Muhammad
Released under the GNU GPL.

-C --no-color Use a monochrome color scheme
-d --delay=DELAY Set the delay between updates, in tenths of seconds
-h --help Print this help screen
-s --sort-key=COLUMN Sort by COLUMN (try --sort-key=help for a list)
-t --tree Show the tree view by default
-u --user=USERNAME Show only processes of a given user
-p --pid=PID,[,PID,PID...] Show only the given PIDs
-v --version Print version info

Long options may be passed with a single dash.

Press F1 inside htop for online help.
See 'man htop' for more information.
techdhee@kali:~|⇒

htop show –v

techdhee@kali:~|⇒ htop show --v 
htop 2.2.0 - (C) 2004-2019 Hisham Muhammad
Released under the GNU GPL.

htop installation easy process

You can then run htop by simply executing: You have to open the terminal and type the following command in the terminal:

 # htop

Video

How To Install htop a resource monitor tool on Linux you can watch the following video and also subscribe to our YouTube channel to support us.

Finally

Thank you for reading this post and keep connected to TECH DHEE to continue enjoying excellent posts. Share your views about this post in the comment section below. If you still have any queries, throw it in the comment section. If you find this post helpful, don’t hesitate to share this post on your social network. It will only take a moment, and also it is quite easy and useful for others.

Related Topics

techdhee

TECH DHEE

A geek by passion! I started my career as a Network Engineer and currently, I am working as a Network & Systems Administrator. It was probably the most fun I’ve ever had in a job. I felt like a magician and got to see the good side of people.

View all posts by TECH DHEE →

Leave a Reply

Your email address will not be published. Required fields are marked *