You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Nathan Scott b92cfa7d7a Merge branch 'conversion' of https://github.com/cgzones/htop into cgzones-conversion 5 years ago
.github/workflows ci: use clang-11 5 years ago
darwin Unify naming of first argument of Platform_getBattery 5 years ago
docs Fix a little typo (spelling) in the styleguide 5 years ago
dragonflybsd DragonFlyBSDProcessList: fix missing type 5 years ago
freebsd FreeBSD: fix crash on empty environment 5 years ago
iwyu IWYU update (FreeBSD) 5 years ago
linux Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing to bar buffers 5 years ago
openbsd OpenBSD update 5 years ago
scripts Track file descriptors in valgrind script 5 years ago
solaris Unify naming of first argument of Platform_getBattery 5 years ago
unsupported Unify naming of first argument of Platform_getBattery 5 years ago
zfs Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing to bar buffers 5 years ago
.editorconfig Add `trim_trailing_whitespace` to editorconfig 6 years ago
.gitignore Add conf*/ and callgrind.out.* to list of ignored files 5 years ago
.travis.yml s390x support for travis 5 years ago
AUTHORS Update AUTHORS file with htop-dev team 5 years ago
Action.c Implement sorting in tree mode 5 years ago
Action.h Hide process selection on ESC 5 years ago
Affinity.c IWYU update (FreeBSD) 5 years ago
Affinity.h IWYU update (FreeBSD) 5 years ago
AffinityPanel.c Update even more snprintfs 5 years ago
AffinityPanel.h Mark Object instances const 6 years ago
AvailableColumnsPanel.c Allow to pass '/' for item search 5 years ago
AvailableColumnsPanel.h Mark Object instances const 6 years ago
AvailableMetersPanel.c Update even more snprintfs 5 years ago
AvailableMetersPanel.h Make all required includes explicit 5 years ago
BatteryMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
BatteryMeter.h Mark Object instances const 6 years ago
CONTRIBUTING.md Documentation on the repository style guide 5 years ago
COPYING Remove trailing whitespaces 6 years ago
CPUMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
CPUMeter.h Show CPU temperature in CPU meter 5 years ago
CRT.c IWYU update 5 years ago
CRT.h Add support to change numeric options in settings screen 5 years ago
CategoriesPanel.c Allow to pass '/' for item search 5 years ago
CategoriesPanel.h Make all required includes explicit 5 years ago
ChangeLog Some minor additions to the changelog 5 years ago
ClockMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
ClockMeter.h Mark Object instances const 6 years ago
ColorsPanel.c IWYU update 5 years ago
ColorsPanel.h Mark Object instances const 6 years ago
ColumnsPanel.c Allow to pass '/' for item search 5 years ago
ColumnsPanel.h Fix segmentation fault when column name is NULL. 5 years ago
CommandScreen.c Improving Command display/sort 5 years ago
CommandScreen.h Make all required includes explicit 5 years ago
Compat.c Resolve conversion from ssize_t to int for readlink return value 5 years ago
Compat.h IWYU update 5 years ago
DateMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
DateMeter.h Mark Object instances const 6 years ago
DateTimeMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
DateTimeMeter.h Mark Object instances const 6 years ago
DiskIOMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
DiskIOMeter.h Convert personal copyright authorship to team 5 years ago
DisplayOptionsPanel.c IWYU update 5 years ago
DisplayOptionsPanel.h Mark Object instances const 6 years ago
EnvScreen.c Improving Command display/sort 5 years ago
EnvScreen.h Make all required includes explicit 5 years ago
FunctionBar.c Embracing branches 5 years ago
FunctionBar.h Add key to pause process list updates 5 years ago
Hashtable.c IWYU update 5 years ago
Hashtable.h Implement Hashtable_clear to empty an existing Hashtable 5 years ago
Header.c Remove unused function Header_readMeterName 5 years ago
Header.h Remove unused function Header_readMeterName 5 years ago
HostnameMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
HostnameMeter.h Mark Object instances const 6 years ago
IncSet.c Embracing branches 5 years ago
IncSet.h Spacing around operators 5 years ago
InfoScreen.c Common order for ESC/q/F10 5 years ago
InfoScreen.h Make all required includes explicit 5 years ago
ListItem.c Whitespace and indentation issues 5 years ago
ListItem.h Small ListItem update 5 years ago
LoadAverageMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
LoadAverageMeter.h Mark Object instances const 6 years ago
Macros.h Introduce spaceship comparison for Processes 5 years ago
MainPanel.c Minor code streamlining 5 years ago
MainPanel.h Spacing around operators 5 years ago
Makefile.am Update htop logo, provide .svg file as well 5 years ago
MemoryMeter.c Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing to bar buffers 5 years ago
MemoryMeter.h Mark Object instances const 6 years ago
Meter.c Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing to bar buffers 5 years ago
Meter.h Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing to bar buffers 5 years ago
MetersPanel.c Make all required includes explicit 5 years ago
MetersPanel.h Make all required includes explicit 5 years ago
NEWS Remove trailing whitespaces 6 years ago
NetworkIOMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
NetworkIOMeter.h Add NetworkIOMeter 5 years ago
Object.c Avoid calling Object_isA from inside Vector_isConsistent 5 years ago
Object.h Object: assert callbacks exists 5 years ago
OpenFilesScreen.c Improving Command display/sort 5 years ago
OpenFilesScreen.h Make all required includes explicit 5 years ago
OptionItem.c IWYU update 5 years ago
OptionItem.h Add support to change numeric options in settings screen 5 years ago
Panel.c Allow to pass '/' for item search 5 years ago
Panel.h Hide process selection on ESC 5 years ago
Process.c Use size_t as type for buffer length in Process 5 years ago
Process.h Use size_t as type for buffer length in Process 5 years ago
ProcessList.c IWYU update 5 years ago
ProcessList.h Implement sorting in tree mode 5 years ago
ProcessLocksScreen.c ProcessLocksScreen_draw: use Process_getCommand instead of raw comm 5 years ago
ProcessLocksScreen.h IWYU update (Linux) 5 years ago
ProvideCurses.h Make all required includes explicit 5 years ago
README Add screen shot of htop to readme 6 years ago
README.md
RichString.c RichString: avoid signed integer misuse 5 years ago
RichString.h Fully support non-ascii characters in Meter-Bar 5 years ago
ScreenManager.c Common order for ESC/q/F10 5 years ago
ScreenManager.h Drop unneeded parameters to the ScreenManager constructor 5 years ago
Settings.c Dynamically load libsensors at runtime 5 years ago
Settings.h IWYU update 5 years ago
SignalsPanel.c Update even more snprintfs 5 years ago
SignalsPanel.h Make all required includes explicit 5 years ago
SwapMeter.c Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing to bar buffers 5 years ago
SwapMeter.h Mark Object instances const 6 years ago
TESTPLAN Remove trailing whitespaces 6 years ago
TasksMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
TasksMeter.h Mark Object instances const 6 years ago
TraceScreen.c Improving Command display/sort 5 years ago
TraceScreen.h Make all required includes explicit 5 years ago
UptimeMeter.c Use size_t as len type for Meter_UpdateValues 5 years ago
UptimeMeter.h Mark Object instances const 6 years ago
UsersTable.c Hashtable: use dynamic growth and use primes as size 5 years ago
UsersTable.h Update License consistently to GPLv2 as per COPYING file 6 years ago
Vector.c Avoid calling Object_isA from inside Vector_isConsistent 5 years ago
Vector.h Avoid calling Object_isA from inside Vector_isConsistent 5 years ago
XUtils.c Use size_t as len type for xSnprintf 5 years ago
XUtils.h Use size_t as len type for xSnprintf 5 years ago
autogen.sh autotools: enable warnings and cleanup 6 years ago
configure.ac Update changelog for upcoming 3.0.3 release, annotate rc1 5 years ago
htop.1.in Document implicit incremental search 5 years ago
htop.c Set locale only once and do not override it later 5 years ago
htop.desktop Add danish translation to htop.desktop 7 years ago
htop.png Update htop logo, provide .svg file as well 5 years ago
htop.svg Update htop logo, provide .svg file as well 5 years ago
test_spec.lua Remove trailing whitespaces 6 years ago

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)