Share your love
Install and Use htop Command on Rocky Linux 8

In this guide, you will learn to Install and Use htop command on Rocky Linux 8. htop command is a Linux utility for displaying crucial information about the system’s processes. It can be considered as a Linux counterpart of Windows Task Manager. htop is more of an interactive program as it supports mouse and keyboard operations for switching between values and tabs.
You can now proceed to the guide steps below on the Orcacore website to learn how to use the htop command on Rocky Linux 8.
Table of Contents
Steps to Install and Use htop Command on Rocky Linux 8
To complete this guide, you must log in to your server as a non-root user with sudo privileges. To do this, you can follow our guide on Initial Server Setup with Rocky Linux 8.
1. Install htop on Rocky Linux 8
First, you need to update your local package index with the following command:
sudo dnf update -y
Then, you need to install the EPEL Repository on your server by using the command below:
sudo dnf install epel-release -y
Now use the command below to install htop:
sudo dnf install htop -y
Verify your htop installation by checking its version:
htop --version
Output
htop 3.2.1
2. How to Use the htop Command?
At this point, you can bring up your htop by running the command below:
htop

This is a standard overview of your system, which would suit most users just needing to check quickly on the system stats.
Here are some common options of the htop command:

One of the most common parameters is delaying the update frequency of Htop, as many have the application constantly running to monitor system or network performance.
htop -d 10
As above, this has added on a ten-second delay, but you can specify anything you want in seconds.
Below is a list of the most commonly used keys:

3. Remove htop from Rocky Linux 8
If you plan to remove htop from your server, you can easily remove it by running the command below:
sudo dnf autoremove htop -y
Conclusion
In conclusion, installing and using the htop command on Rocky Linux 8 provides an enhanced, interactive way to monitor system resources and processes. With its user-friendly interface and real-time updates, htop is a valuable tool for system performance management and troubleshooting.
Hope you enjoy it. Please subscribe to us on Facebook, Instagram, and YouTube.
You may also like these articles:
How To Set up MediaWiki on CentOS 7