In Arch Linux, you can install htop
by using the package manager pacman
. Here are the steps you can follow:
- Start by updating the package list by running the following command:
sudo pacman -Sy
- Next, you can install
htop
by running the following command:
sudo pacman -S htop
- Once the installation is complete, you can start
htop
by running the following command:
htop
htop
is a powerful process monitoring tool that allows you to view the processes running on your system, sort them by various criteria, and perform other actions. It is similar to thetop
command, but provides a more user-friendly and interactive interface.- You can use the arrow keys to navigate through the list of processes and use the
F2
key to access the configuration menu where you can customize the display and change some settings. - To exit htop press
q
It’s important to note that htop
is not included in the official Arch Linux repositories, it’s available in the AUR(Arch User Repository) so you can install it from there as well.
Also, note that you need to have root privileges to run htop
and see all the processes.