Skip to content
htop
EntityQ1940220· pop 17· linked from 11 articles

htop is an interactive system monitor process viewer and process manager. It is designed as an alternative to the Unix program top.

Key facts

Software.name
htop
Software.screenshot
250px
Software.author
Hisham Muhammad
Software.developer
Hisham Muhammad (2004–2019)htop developer team (2020–present)
Software.programming language
C (ncurses library)
Software.operating system
Linux, macOS, FreeBSD, OpenBSD, Solaris, Illumos, OpenIndiana
Software.genre
Process Viewer / System monitor
Software.license
GPL-2.0-or-later

via Wikipedia infobox

Source code

htop allows scrolling the list of processes vertically and horizontally to see their full command lines and related information like memory and CPU consumption. Also system wide information, like load average or swap usage, is shown. The information displayed is configurable through a graphical setup and can be sorted and filtered interactively. Tasks related to processes (e.g. killing and renicing) can be done without entering their PIDs. Note about ncurses : htop requires ncurses 6.0. Be aware the appropriate package is sometimes still called libncurses5 (on Debian/Ubuntu). Also ncurses usually comes in two flavours: With Unicode support. Without Unicode support. List of additional build-time dependencies (based on feature flags): pkg-config sensors hwloc libcap (v2.21 or later) libnl-3 and libnl-genl-3 pkg-config is optional but recommended. The configure script of htop might utilize pkg-config to obtain the compiler and linker flags required for a library. Some OS distributions provide pkg-config functionalities through an alternative implementation such as pkgconf . Look for both names in your package manager. Install these and other required packages for C development from your package manager. Compile from source: To compile from source, download from the Git repository ( git clone or downloads from GitHub releases), then run: ~~~ shell ./autogen.sh && ./configure && make ~~~ Runtime dependencies: htop has a set of fixed minimum runtime dependencies, which is kept as minimal as possible: ncurses libraries for terminal handling (wide character support). htop checks for the availability of the actual runtime libraries as htop runs. More information on required and optional dependencies can be found in configure.ac. If you have trouble running htop please consult your operating system / Linux distribution documentation for getting support and filing bugs. You can also join our IRC channel htop on Libera.Chat and talk to the developers there. If you have found an issue within the source of htop , please check whether this has already been reported in our GitHub issue tracker. If not, please file a new issue describing the problem you have found, the potential location in the source code you are referring to and a possible fix if available. htop was invented, developed and maintained by Hisham Muhammad from 2004 to 2019. His legacy repository has been archived to preserve the history. In 2020 a team took over the development amicably and continues to maintain htop collaboratively. GNU General Public License, version 2 (GPL-2.0) or, at your option, any later version.

Excerpt from the source-code README · 8,847 chars · not written by Vinony

Wikidata facts

Official website
htop.dev
Image
Htop 3.0.1 screenshot.png
Show 7 more facts
Commons category
Htop
source code repository URL
github.com/htop-dev/htop
software version identifier
3.5.0
inception
2004-05-07
Sources (8)

via Wikidata · CC0

~2 min read

Article

3 sections
Contents
  • See also
  • References
  • External links

htop is an interactive system monitor process viewer and process manager. It is designed as an alternative to the Unix program top.

It shows a frequently updated list of the processes running on a computer, normally ordered by the amount of CPU usage. Unlike top, htop provides a full list of processes running, instead of the top resource-consuming processes. htop uses color and gives visual information about processor, swap and memory status. htop can also display the processes as a tree.

Connections

Categories