htop
From Gentoo Wiki
htop is a cross-platform interactive process viewer. It is a text-mode application (for console or X terminals) and requires ncurses.
Installation
USE flags
USE flags for sys-process/htop Interactive process viewer
caps
|
Use Linux capabilities library to control privilege |
debug
|
Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces |
delayacct
|
Enable Linux delay accounting support via dev-libs/libnl |
hwloc
|
Use sys-apps/hwloc for CPU affinity support |
llvm-libunwind
|
Use sys-libs/llvm-libunwind instead of sys-libs/libunwind |
lm-sensors
|
Add linux lm-sensors (hardware sensors) support |
openvz
|
Enable openvz support |
unicode
|
Add support for Unicode |
unwind
|
Add support for call stack unwinding and function name resolution |
vserver
|
Enable vserver support |
Emerge
root #
emerge --ask sys-process/htop
Usage
htop can be used with one command:
user $
htop
Invocation
user $
htop --help
htop _version_ (C) 2004-2019 Hisham Muhammad. (C) 2020 htop dev team. Released under the GNU GPLv2. -C --no-color Use a monochrome color scheme -d --delay=DELAY Set the delay between updates, in tenths of seconds -F --filter=FILTER Show only the commands matching the given filter -h --help Print this help screen -H --highlight-changes[=DELAY] Highlight new and old processes -M --no-mouse Disable the mouse -p --pid=PID[,PID,PID...] Show only the given PIDs -s --sort-key=COLUMN Sort by COLUMN in list view (try --sort-key=help for a list) -t --tree Show the tree view (can be combined with -s) -u --user[=USERNAME] Show only processes for a given user (or $USER) -U --no-unicode Do not use unicode but plain ASCII -V --version Print version info Long options may be passed with a single dash. Press F1 inside htop for online help. See 'man htop' for more information.
See also
- ps — a tool for reporting on a system's active processes
- Recommended tools — lists system-administration related tools recommended for use in a shell environment (terminal/console)
External resources
- https://peteris.rocks/blog/htop - htop utility output explained in quite good detail.