• Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us
TecAdmin
Menu
  • Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us

Htop – An Interactive Process Viewer for Linux

Written by Rahul, Updated on February 20, 2018
Monitoring Tools htop, Linux Monitoring Tool, Monitoring Tool

Htop is an interactive process viewer, a system-monitoring tool for Linux/Unix system. It is an optimized version of Linux top command. Using Htop you can find better results. Htop also supports mouse events to select any process with the mouse. Htop provides a more user-friendly and readable view of CPU, Memory, Load uses on the head.

Recommended:

  • Glances – A Real-Time Monitoring Tool for Linux

Htop 2.1 is available with cross-platform features. Now, this release includes code supporting Linux, FreeBSD, OpenBSD and Mac OS X.

Step 1 – Htop Installation

Htop is available under default package repositories. Use one of the following commands to install Htop on your system.

Using Package Manager

sudo apt install htop    # For Debian Based Systems
sudo yum install htop    # For RedHat Based Systems

The package manager may not have the updated version. Also, it may not available under package manage. In that case, the installation will fail. Download the source code of Htop and compile it on your system.

Using Source Code

wget http://hisham.hm/htop/releases/2.1.0/htop-2.1.0.tar.gz
tar xzf htop-2.1.0.tar.gz
cd htop-2.1.0
./configure
sudo make && sudo make install

Step 2 – Using Htop

The htop installation has been completed. Now just type htop on the terminal and watch the results. Press Q or F10 to exit from htop command. The bottom line will show you the commands to set up the display, search, sort, increase/decrease the nice value, kill process etc.

htop

The htop provides shortcuts to filter the results for you. Use the following shortcuts keys to change the view of htop output.

  • F2 => Setup
  • F3 or / => Incremental name search
  • F4 or \ => Incremental name filter
  • F5 or t => Tree view
  • F6 + – => Exapand/collaps tree
  • F7 => Decrease nice value
  • F8 => Increase nice value
  • F9 => Kill selected process
  • F10 => Exit from Htop command
  • P => Sort by CPU
  • M => Sort by Memory
  • T => Sort by time

Share it!
Share on Facebook
Share on Twitter
Share on Reddit
Share on Tumblr
Rahul
Rahul
Connect on Facebook Connect on Twitter

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Related Posts

  • How To Install Zabbix Agent on Debian 10/9/8

    December 1, 2018
  • Glances – A Real-Time Monitoring Tool for Linux

    May 21, 2017
  • How To Install Zabbix Server 4.0 on CentOS/RHEL 7/6

    April 24, 2016
  • How to Setup NagiosQL3 (Nagios Web UI) on Linux

    July 17, 2014
  • How To Install and Configure Monit on Linux

    May 5, 2014

Leave a Reply

Cancel reply

Popular Posts

  • How to Install Python 3.8 on Ubuntu, Debian and LinuxMint
  • How to Restart Network Service on CentOS 8 or RHEL 8
  • How to Check IP Address on CentOS 8
  • How to Install Java 11/8 on Amazon Linux
  • How to Configure Static IP on CentOS 8 (CLI)
Copyright © 2013-2019 TecAdmin.net. All Rights Reserved. This site uses cookies. By using this website you agree with our term and services
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkNo
Revoke cookies