htop is a popular command-line tool to help monitor system resources and performance in Linux.
It’s better than greatoften available by default out of the box.
With htop you can filter and sort processes for better understanding, get a tree view of running processes, and kill processes if needed.
I use htop rather than other system monitoring tools because it displays what’s essential to me and allows rogue/frozen processes to be terminated when I need to take control of running services .
But, if you want something else that shows more information or looks different, what are some htop alternatives? We’ll take a look.
Recommended Reading: 7 System Monitoring Tools for Linux to Keep an Eye on Vital System Statistics
1. at the top
at the top relates to the execution of the details of the process. You get all the data you need to understand the processing on your system.
It also provides the ability to create a permanent resource usage log for long-term analysis. A system administrator might find this more useful than anyone else.
Unfortunately, this doesn’t provide you with a pretty output. So if you want, keep looking at the other options below.
How to install on it?
For Ubuntu/Debian based distributions, type:
sudo apt install atop
vtop is the perfect system monitoring utility if you want attractive output and essential functionality for managing processes.
The output looks like a GUI in a terminal as I have shown in some of my other posts. You can have mouse support or choose to disable it. The theme can also be customized.
It is built using Node.js. So you need to install additional packages to install it.
Unfortunately, this project seems to no longer be actively maintained. But, it worked for me at the time of writing this article.
How to install vtop?
For Ubuntu-based distributions, type the following commands in the terminal:
sudo apt install nodejs sudo apt install npm sudo npm install -g vtop
btop++ is a C++ version of bashtop and bpytop. And, yes, this is the third iteration of these projects by the same developer.
btop++ includes full mouse support, has a game-inspired menu system, lets you filter processes, get tree view, and more.
How to install btop++?
Using official repositories, you can easily install it on Fedora, OpenSUSE and FreeBSD.
For Fedora, you can type:
sudo dnf install btop
You can explore its GitHub page for options to install on other Linux distributions.
Glances is similar to htop, but with more features.
It is a cross-platform system monitoring utility that can export data in CSV or other formats for InfluxDB, Elasticsearch, etc.
You can also use its web UI to check stats remotely or without terminal access.
How to install Glances?
For Ubuntu-based distributions, you can type:
sudo apt install glances
nmon is an awesome monitoring utility that lets you control what you want to display as output.
You can extract monitoring data (export it in CSV format) and use it for further analysis. It’s easy to switch between stats and switch between different views.
By default, it refreshes data every two seconds, but you can customize it and access more options to tweak your experience.
How to install nmon?
You can find it in the official repositories. For Ubuntu-based distributions, type the following in the terminal:
sudo apt install nmon
The top command utility is built into your Linux system. If you want a simple monitoring utility and want to keep an eye on system processes and some statistics, top is good enough.
I don’t know if I can consider it an improved experience over htop and that’s why top is not included in the main list.
As you can see here, some monitoring utilities can be fun and more insightful than htop.
What is your favorite htop replacement? Do you think htop is more than enough for your use case? Please let me know your thoughts in the comments below.