Htop

From Gentoo Wiki
Jump to:navigation Jump to:search


This article is a stub. You can help by expanding it.

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