htop - an interactive process viewer
Go to file
Christian Göttsche 0411fdbcef Use spaceship comparison for TTYs 2020-11-15 22:54:14 +01:00
.github/workflows update Github CI 2020-10-20 21:44:06 +02:00
darwin Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBE 2020-11-15 14:33:09 +01:00
docs Documentation on the repository style guide 2020-10-31 11:11:40 +01:00
dragonflybsd Introduce spaceship comparison for Processes 2020-11-15 18:25:21 +01:00
freebsd Introduce spaceship comparison for Processes 2020-11-15 18:25:21 +01:00
iwyu IWYU update 2020-10-20 21:44:25 +02:00
linux Use spaceship comparison for TTYs 2020-11-15 22:54:14 +01:00
openbsd Introduce spaceship comparison for Processes 2020-11-15 18:25:21 +01:00
scripts Add script to run htop under valgrind 2020-09-17 22:06:36 +02:00
solaris Introduce spaceship comparison for Processes 2020-11-15 18:25:21 +01:00
unsupported Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBE 2020-11-15 14:33:09 +01:00
zfs Spacing around operators 2020-11-02 22:15:01 +01:00
.editorconfig Add `trim_trailing_whitespace` to editorconfig 2019-10-31 11:39:57 -05:00
.gitignore Add conf*/ and callgrind.out.* to list of ignored files 2020-10-11 14:21:59 +02:00
.travis.yml s390x support for travis 2020-10-20 21:43:10 +02:00
AUTHORS Initial import. 2006-03-04 18:16:49 +00:00
Action.c Drop hideThreads Setting 2020-11-15 22:54:14 +01:00
Action.h XUtils string related updates 2020-10-19 15:38:45 +02:00
Affinity.c Embracing branches 2020-11-02 22:15:01 +01:00
Affinity.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
AffinityPanel.c Embracing branches 2020-11-02 22:15:01 +01:00
AffinityPanel.h Mark Object instances const 2020-10-07 13:01:53 +02:00
AvailableColumnsPanel.c Make all required includes explicit 2020-10-18 20:09:05 +02:00
AvailableColumnsPanel.h Mark Object instances const 2020-10-07 13:01:53 +02:00
AvailableMetersPanel.c Make all required includes explicit 2020-10-18 20:09:05 +02:00
AvailableMetersPanel.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
BatteryMeter.c Spacing around operators 2020-11-02 22:15:01 +01:00
BatteryMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
CONTRIBUTING.md Documentation on the repository style guide 2020-10-31 11:11:40 +01:00
COPYING Remove trailing whitespaces 2020-08-21 10:37:33 +02:00
CPUMeter.c Embracing branches 2020-11-02 22:15:01 +01:00
CPUMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
CRT.c Fixup of SystemdMeter merge 2020-11-15 17:53:31 +01:00
CRT.h Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzones 2020-11-15 14:52:25 +01:00
CategoriesPanel.c Embracing branches 2020-11-02 22:15:01 +01:00
CategoriesPanel.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
ChangeLog Bump version, changelog for minor htop-3.0.2 release 2020-09-15 09:43:36 +10:00
CheckItem.c Embracing branches 2020-11-02 22:15:01 +01:00
CheckItem.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
ClockMeter.c Spacing around operators 2020-11-02 22:15:01 +01:00
ClockMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
ColorsPanel.c Embracing branches 2020-11-02 22:15:01 +01:00
ColorsPanel.h Mark Object instances const 2020-10-07 13:01:53 +02:00
ColumnsPanel.c Spacing around operators 2020-11-02 22:15:01 +01:00
ColumnsPanel.h Fix segmentation fault when column name is NULL. 2020-10-31 18:34:34 +01:00
CommandScreen.c Embracing branches 2020-11-02 22:15:01 +01:00
CommandScreen.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
Compat.c Add compat wrapper for readlinkat 2020-11-09 19:17:57 +01:00
Compat.h Add compat wrapper for readlinkat 2020-11-09 19:17:57 +01:00
DateMeter.c Spacing around operators 2020-11-02 22:15:01 +01:00
DateMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
DateTimeMeter.c Spacing around operators 2020-11-02 22:15:01 +01:00
DateTimeMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
DiskIOMeter.c Handle data wraparounds in IO Meters 2020-11-02 14:46:42 +01:00
DiskIOMeter.h FreeBSD: implement Platform_getDiskIO() 2020-10-29 22:21:42 +01:00
DisplayOptionsPanel.c Merge branch 'number-cpus-from-zero' of zevweiss/htop 2020-10-20 10:06:15 +02:00
DisplayOptionsPanel.h Mark Object instances const 2020-10-07 13:01:53 +02:00
EnvScreen.c Spacing around operators 2020-11-02 22:15:01 +01:00
EnvScreen.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
FunctionBar.c Embracing branches 2020-11-02 22:15:01 +01:00
FunctionBar.h Add key to pause process list updates 2020-10-12 13:04:00 +02:00
Hashtable.c Embracing branches 2020-11-02 22:15:01 +01:00
Hashtable.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
Header.c Embracing branches 2020-11-02 22:15:01 +01:00
Header.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
HostnameMeter.c Spacing around operators 2020-11-02 22:15:01 +01:00
HostnameMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
IncSet.c Embracing branches 2020-11-02 22:15:01 +01:00
IncSet.h Spacing around operators 2020-11-02 22:15:01 +01:00
InfoScreen.c Embracing branches 2020-11-02 22:15:01 +01:00
InfoScreen.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
ListItem.c Whitespace and indentation issues 2020-11-02 22:15:01 +01:00
ListItem.h Small ListItem update 2020-10-28 20:49:11 +01:00
LoadAverageMeter.c Make all required includes explicit 2020-10-18 20:09:05 +02:00
LoadAverageMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
Macros.h Introduce spaceship comparison for Processes 2020-11-15 18:25:21 +01:00
MainPanel.c Mark ProcessList_keyAt argument const 2020-11-15 18:35:30 +01:00
MainPanel.h Spacing around operators 2020-11-02 22:15:01 +01:00
Makefile.am Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzones 2020-11-15 14:52:25 +01:00
MemoryMeter.c Make all required includes explicit 2020-10-18 20:09:05 +02:00
MemoryMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
Meter.c Embracing branches 2020-11-02 22:15:01 +01:00
Meter.h Use integer type for item count instead of char 2020-10-31 18:36:55 +01:00
MetersPanel.c Make all required includes explicit 2020-10-18 20:09:05 +02:00
MetersPanel.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
NEWS Remove trailing whitespaces 2020-08-21 10:37:33 +02:00
NetworkIOMeter.c Handle data wraparounds in IO Meters 2020-11-02 14:46:42 +01:00
NetworkIOMeter.h Add NetworkIOMeter 2020-10-16 20:00:14 +02:00
Object.c Embracing branches 2020-11-02 22:15:01 +01:00
Object.h Remove unnecessary trailing semicolon on macros 2020-11-02 22:14:26 +01:00
OpenFilesScreen.c Embracing branches 2020-11-02 22:15:01 +01:00
OpenFilesScreen.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
Panel.c Embracing branches 2020-11-02 22:15:01 +01:00
Panel.h Spacing around operators 2020-11-02 22:15:01 +01:00
Process.c Use uid_t type for Process_getuid 2020-11-15 18:35:30 +01:00
Process.h Spacing around operators 2020-11-02 22:15:01 +01:00
ProcessList.c Mark ProcessList_keyAt argument const 2020-11-15 18:35:30 +01:00
ProcessList.h Mark ProcessList_keyAt argument const 2020-11-15 18:35:30 +01:00
ProcessLocksScreen.c Split data array for file lock information into separate fields 2020-11-14 15:51:26 +01:00
ProcessLocksScreen.h Split data array for file lock information into separate fields 2020-11-14 15:51:26 +01:00
ProvideCurses.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
README Add screen shot of htop to readme 2020-10-01 20:21:44 +13:00
README.md Add README.md for Github 2014-02-03 09:11:39 -02:00
RichString.c Embracing branches 2020-11-02 22:15:01 +01:00
RichString.h Avoid RichString_beginAllocated being ammendable 2020-11-02 22:15:01 +01:00
ScreenManager.c Embracing branches 2020-11-02 22:15:01 +01:00
ScreenManager.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
Settings.c Drop hideThreads Setting 2020-11-15 22:54:14 +01:00
Settings.h Drop hideThreads Setting 2020-11-15 22:54:14 +01:00
SignalsPanel.c Make all required includes explicit 2020-10-18 20:09:05 +02:00
SignalsPanel.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
SwapMeter.c Make all required includes explicit 2020-10-18 20:09:05 +02:00
SwapMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
TESTPLAN Remove trailing whitespaces 2020-08-21 10:37:33 +02:00
TasksMeter.c Hold only a const version of the ProcessList in Meters 2020-10-26 19:30:38 +01:00
TasksMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
TraceScreen.c Shorten initializer 2020-11-02 22:15:01 +01:00
TraceScreen.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
UptimeMeter.c Spacing around operators 2020-11-02 22:15:01 +01:00
UptimeMeter.h Mark Object instances const 2020-10-07 13:01:53 +02:00
UsersTable.c Avoid some unnecessary casts and mark some not changing variables const 2020-10-27 18:00:43 +01:00
UsersTable.h Update License consistently to GPLv2 as per COPYING file 2020-10-05 10:13:12 +02:00
Vector.c Embracing branches 2020-11-02 22:15:01 +01:00
Vector.h Spacing around operators 2020-11-02 22:15:01 +01:00
XUtils.c Spacing around operators 2020-11-02 22:15:01 +01:00
XUtils.h Spacing around operators 2020-11-02 22:15:01 +01:00
autogen.sh autotools: enable warnings and cleanup 2020-09-17 21:45:11 +02:00
configure.ac Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzones 2020-11-15 14:52:25 +01:00
htop.1.in Implement screen for active file locks 2020-11-09 19:17:57 +01:00
htop.c Embracing branches 2020-11-02 22:15:01 +01:00
htop.desktop Add danish translation to htop.desktop 2019-02-19 01:25:52 +01:00
htop.png Updated icon! 2014-04-09 14:47:58 -03:00
test_spec.lua Remove trailing whitespaces 2020-08-21 10:37:33 +02:00

README.md

htop

CI Coverity Scan Build Status Mailing List IRC #htop Github Release Download

Screenshot of htop

Introduction

htop is a cross-platform interactive process viewer.

htop allows scrolling the list of processes vertically and horizontally to see their full command lines and related information like memory and CPU consumption.

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.

Running htop requires ncurses libraries (typically named libncursesw*).

For more information and details on how to contribute to htop visit htop.dev.

Build instructions

This program is distributed as a standard GNU autotools-based package.

Compiling htop requires the header files for ncurses (libncursesw*-dev). Install these and other required packages for C development from your package manager.

Then, when compiling from a release tarball, run:

./configure && make

Alternatively, for compiling sources downloaded from the Git repository (git clone or downloads from Github releases), install the header files for ncurses (libncursesw*-dev) and other required development packages from your distribution's package manager. Then run:

./autogen.sh && ./configure && make

By default make install will install into /usr/local, for changing the path use ./configure --prefix=/some/path.

See the manual page (man htop) or the on-line help ('F1' or 'h' inside htop) for a list of supported key commands.

Support

If you have trouble running htop please consult your Operating System / Linux distribution documentation for getting support and filing bugs.

Bugs, development feedback

We have a development mailing list. Feel free to subscribe for release announcements or asking questions on the development of htop.

You can also join our IRC channel #htop on freenode and talk to the developers there.

If you have found an issue with 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 location in the source code you are referring to and a possible fix.

History

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.

License

GNU General Public License, version 2 (GPL-2.0)