In this article, we will have explained the necessary steps to install and configure Htop on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
Htop is a ncursed-based process viewer similar to top, but it allows one to scroll the list vertically and horizontally to see all processes and their full command lines such as CPU, RAM and average system load is already possible on most Linux distributions using the command top.
Install Htop on Ubuntu 20.04
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
sudo apt update sudo apt upgrade
Step 2. Install Htop on Ubuntu system.
To install htop run the commands below:
sudo apt install htop
Step 3. Accessing and Use Htop.
In order to run
htop issue the following command and press Enter.
At the top of the display, you will see the CPU and memory usage, load average and uptime of the server. Then, you see the list of running processes with their own CPU and memory utilization.
If you want to get assistance to know about the use of htop command then you will use the ‘F1’ function key from the keyboard. To explore more about htop command you can visit this page here.
That’s all you need to do to install Htop on Ubuntu 20.04 Focal Fossa. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.