Will ‘Htop’ Replace Default ‘Top’ Monitoring Tool in Linux?

top is a traditional command-line tool for monitoring real-time processes in a Unix/Linux systems, it’s comes preinstalled on most if not all Linux distributions and shows a useful summary of system information including uptime, total number of processes (and number of: running, sleeping, stopped and zombie processes), CPU and RAM usage, and a list of processes or threads currently being managed by the kernel.

Linux Process Monitoring with Top

Linux Process Monitoring with Top

Read Also: Find Top 15 Processes By Memory Usage in Linux

Htop is an interactive, ncurses-based processes viewer for Linux systems. It is practically a top-like tool, but it displays colorful text, and uses ncurses to implement a text-graphical interface, and allows for output scrolling. It doesn’t come preinstalled on most mainstream Linux distributions.

Linux Process Monitoring with Htop

Linux Process Monitoring with Htop

Why Htop is Better Than Top Monitoring Tool

Htop has become increasingly popular among Linux users, due to its modern features and ease of use. In fact, this has sparked a “top Vs htop” debate. The following are some of htop features not present in top – why Linux users now prefer htop to its old counterpart top:

  • It has a nicer text-graphics interface, with colored output.
  • It is easy to use and highly configurable.
  • Allows for scrolling process list vertically and horizontally to see all processes and complete command lines.
  • It also displays a process tree and comes with mouse support.
  • Allows you to easily perform certain functions related to processes (killing, renicing etc) which can be done without entering their PIDs.
  • Htop is also much faster than top.

Another important thing to share that, in recent version of Ubuntu 18.04, htop package comes preinstalled, it’s in the list of default Bionic packages.

Read Also: 20 Command Line Tools to Monitor Linux Performance

In addition, the htop package has been moved from the Universe repository (which contains community-maintained free and open-source packages) into the main repository (which contains free and open-source packages supported by Canonical), as shown by the publishing history of htop package in Ubuntu, on Launchpad.

Bearing in mind these recent advancements concerning the htop package in the Ubuntu repositories, coupled with its growing popularity among Linux users, the big question here is, will htop replace top as the default process monitoring tool on Linux Systems? Let’s watch the space!

There are also other tools in the mix, such as glances and atop; the former is cross-platform, the most advanced of them all, and it’s becoming popular as well. Glances is highly configurable, it can run in: standalone, client/server and web server mode.

Read Also: Use Glances to Monitor Remote Linux in Web Server Mode

Although htop has modern process monitoring features and is easier to use, top has been around for a long time, and it is proven and tested. What is your take on this issue? Which of these tools would you say is better for Linux process monitoring? Use the feedback form below to share your thoughts with us.

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

5 Responses

  1. Kees de Jong says:

    top command can do these things too you mention, or are you testing these thing on RHEL6?

    • Aaron Kili says:

      @Kees

      Atleast top doesn’t support mouse operations, it is not configurable, requires a PID to kill or renice a process and others. Does it even display a process tree, i haven’t seen this feature yet.

      • Kees says:

        Your article is not correct, your arguments here make it even worse. Sure it doesn’t have mouse support, how many terminal applications do? I can only think of vim and tmux, and it’s hardly used. If you want a GUI with mouse support (and pretty colors?..) then use GNOME system monitor.

        top needs a PID, of course, you want to tune/kill a specific process. This tool is meant for production, not to kill your LibreOffice processes. For a process tree, hit c and then V in top. Please update this article and do your research, if you can even call reading a man/help page ‘research’.

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.