Atlantic.Net Blog

How to Install Htop on Arch Linux

Htop is a free, open-source, interactive system monitor, process viewer, and process manager designed for Linux-based operating systems. It is very similar to Task Manager in the Windows OS used to troubleshoot and kill a process that is utilizing excessive server resources. It helps the system administrator to monitor system load, CPU, memory usage, processes, and more via a command-line interface.

In this post, we will show you how to install and use Htop on Arch Linux.


  • A fresh Arch Linux server on the Atlantic.Net Cloud Platform
  • A root password configured on your server

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Arch Linux as the operating system with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Step 2 – Configure Repository

By default, the default repository is outdated in Arch Linux, so you will need to modify the default mirror list. You can do it by editing the mirrorlist configuration file:

nano  /etc/pacman.d/mirrorlist

Remove all lines and add the following lines:

## Score: 0.7, United States
Server =$repo/os/$arch
## Score: 0.8, United States
Server =$repo/os/$arch
Server =$repo/os/$arch
## Score: 0.9, United Kingdom
Server =$repo/os/$arch
## Score: 1.5, United Kingdom
Server =$repo/os/$arch
Server =$repo/os/$arch
## Score: 6.6, United States
Server =$repo/os/$arch
## Score: 6.7, United States
Server =$repo/os/$arch
## Score: 6.8, United States
Server =$repo/os/$arch
## Score: 7.1, India
Server =$repo/os/$arch
## Score: 10.1, United States
Server =$repo/os/$arch

Save and close the file, then update all the package indexes with the following command:

pacman -Syu

Step 3 – Install Htop on Arch Linux

By default, the Htop package is included in the Arch Linux default repository. You can see the detailed information on Htop using the following command:

pacman -Si htop

You should see the following output:

Repository      : extra
Name            : htop
Version         : 3.2.1-1
Description     : Interactive process viewer
Architecture    : x86_64
URL             :
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : libcap  libnl  ncurses
Optional Deps   : lm_sensors: show cpu temperatures
                  lsof: show files opened by a process
                  strace: attach to a running process
Conflicts With  : None
Replaces        : None
Download Size   : 144.56 KiB
Installed Size  : 362.45 KiB
Packager        : Christian Hesse <[email protected]>
Build Date      : Fri 03 Jun 2022 06:35:51 AM UTC
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Next, install Htop using the following command:

pacman -Sy htop

Step 4 – How to Use Htop To Monitor Linux System

To use the Htop tool, open your command-line interface and run the Htop command:


You should see all processes and system resources on the following screen:
Htop list all processes

Htop provides some common keyboard shortcuts that allow you to manage Htop.

To see the help information for Htop, press the F1 key. You should see the following screen:
Htop help information
To see the setup information, press the F2 key. You should see the following screen:
Htop setup information
To search htop for user names and process names, press the F3 key. You should see the following screen:
Htop search by username
To see the process tree instead of a single line per process, press the F5. You should see the following screen:
Htop process tree
To see the individual process and sort it, press the F6. You should see the following screen:
Htop see individual process
To see a list of signals that can be sent to the process, press the F9 key. You should see the following screen:
Htop see list of signals


In this post, we explained how to install Htop on Arch Linux. We also explained how to use it to monitor the system resources. You can now install Htop on dedicated hosts from Atlantic.Net! and monitor server processes.

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year