The htop is nothing but Interactive process viewer for Arch Linux based system. It is just like default top command with an additional set of options and better display on the screen. This page shows how to install htop on Arch Linux using command line options .
ADVERTISEMENTS
The procedure for installing htop Arch Linux is as follows:
Let us see all commands and examples in details.
Please note that **vivek@desktop:$ **is my shell prompt. You need to type all commands after that prompt.
It is important that you know how to search for any packages. Therefore type the following command to search for htop package using pacman command:
vivek@desktop:$`` sudo pacman -Ss htop
Sample outputs:
extra/htop 2.2.0-3
Interactive process viewer
community/bashtop 0.9.24-1
Linux resource monitor
community/nvtop 1.0.0-2
An htop like monitoring tool for NVIDIA GPUs
Run the following command:
vivek@desktop:$`` sudo pacman -Si htop
Repository : extra
Name : htop
Version : 2.2.0-3
Description : Interactive process viewer
Architecture : x86_64
URL : https://hisham.hm/htop/
Licenses : GPL
Groups : None
Provides : None
Depends On : ncurses libnl
Optional Deps : lsof: show files opened by a process
strace: attach to a running process
Conflicts With : None
Replaces : None
Download Size : 83.89 KiB
Installed Size : 199.27 KiB
Packager : Christian Hesse <arch@eworm.de>
Build Date : Tue 21 Jan 2020 08:12:00 PM UTC
Validated By : MD5 Sum SHA-256 Sum Signature
First, make sure you system is up to date:
vivek@desktop:$`` sudo pacman -Syu
Finally, run the following to install htop on Arch Linux:
vivek@desktop:$`` sudo pacman -S htop
Installing htop on Arch Linux box
The syntax is:
htop
htop [options]
htop [options] arg1 arg2 argN
htop in action
vivek@desktop:$`` htop -C
vivek@desktop:$`` htop --no-color
vivek@desktop:$`` htop -t
vivek@desktop:$ ``htop --tree
Let us see only processes of a given user named tina:
vivek@desktop:$`` htop -u tina
vivek@desktop:$`` htop --user=tina
vivek@desktop:$`` htop --user=mysql
Limit and show process for only the given PIDs:
vivek@desktop:$`` htop -p PID
vivek@desktop:$`` htop -p PID1,PID2
vivek@desktop:$`` htop --pid=PID,[,PID,PID...]
vivek@desktop:$`` htop -p 3754
vivek@desktop:$`` htop -p 6876,8618
#[object object] #[object object] #[object object] #[object object] #linux