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.
 
 
 
 
 
Hisham Muhammad b1f934c5d5 Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
freebsd Major advances in FreeBSD port. 11 years ago
linux Merge branch 'master' into wip 11 years ago
m4 Remove generated files from version history 15 years ago
scripts Sorry about the mega-patch. 11 years ago
unsupported Add files to unsupported platform. 11 years ago
.gitignore Ignore coverage files. 11 years ago
AUTHORS Initial import. 20 years ago
Action.c Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
Action.h handle clicks on panel header line 11 years ago
Affinity.c Sorry about the mega-patch. 11 years ago
Affinity.h Sorry about the mega-patch. 11 years ago
AffinityPanel.c Simplify constructors. 11 years ago
AffinityPanel.h Sorry about the mega-patch. 11 years ago
AvailableColumnsPanel.c Do not trust isalpha(c) for values > 255. 11 years ago
AvailableColumnsPanel.h Sorry about the mega-patch. 11 years ago
AvailableMetersPanel.c Simplify constructors. 11 years ago
AvailableMetersPanel.h Sorry about the mega-patch. 11 years ago
BatteryMeter.c Merge branch 'master' into wip 11 years ago
BatteryMeter.h Move platform-dependent parts of Linux battery meter. 11 years ago
COPYING Resolve license incompatibility issues, 16 years ago
CPUMeter.c Add longer descriptions to available meters. 11 years ago
CPUMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
CRT.c Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
CRT.h Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
CategoriesPanel.c handle clicks on panel header line 11 years ago
CategoriesPanel.h Sorry about the mega-patch. 11 years ago
ChangeLog Update changelog. 12 years ago
CheckItem.c alignment improvements 12 years ago
CheckItem.h alignment improvements 12 years ago
ClockMeter.c Use reentrant version to silence warnings. 12 years ago
ClockMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
ColorsPanel.c Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
ColorsPanel.h Make the implementation of color schemes declarative. 11 years ago
ColumnsPanel.c Do not trust isalpha(c) for values > 255. 11 years ago
ColumnsPanel.h Sorry about the mega-patch. 11 years ago
DisplayOptionsPanel.c Move FunctionBar inside Panel 11 years ago
DisplayOptionsPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
FunctionBar.c Simplify constructors. 11 years ago
FunctionBar.h Simplify constructors. 11 years ago
Hashtable.c Fix order of calloc arguments. 12 years ago
Hashtable.h major header cleanup 14 years ago
Header.c Fix saving of header states, motion in Setup screen. 11 years ago
Header.h Fix saving of header states, motion in Setup screen. 11 years ago
HostnameMeter.c BUGFIX: Fix crash when adding meters and toggling detailed CPU time. 12 years ago
HostnameMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
INSTALL Initial import. 20 years ago
IncSet.c Do not trust isalpha(c) for values > 255. 11 years ago
IncSet.h incremental search and filter reintegrated! 11 years ago
ListItem.c Use UTF-8 only when using UTF-8 :-) 11 years ago
ListItem.h Sorry about the mega-patch. 11 years ago
LoadAverageMeter.c Add longer descriptions to available meters. 11 years ago
LoadAverageMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
MainPanel.c Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
MainPanel.h incremental search and filter reintegrated! 11 years ago
Makefile.am Add coverage testing rules 11 years ago
MemoryMeter.c Add longer descriptions to available meters. 11 years ago
MemoryMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
Meter.c Fix saving of header states, motion in Setup screen. 11 years ago
Meter.h Fix saving of header states, motion in Setup screen. 11 years ago
MetersPanel.c Move FunctionBar inside Panel 11 years ago
MetersPanel.h Complete cursor-based movement of headers. 11 years ago
NEWS cleanup old stuff 15 years ago
Object.c Compare with long, for 64-bit systems 12 years ago
Object.h Compare with long, for 64-bit systems 12 years ago
OpenFilesScreen.c incremental search and filter reintegrated! 11 years ago
OpenFilesScreen.h Move FunctionBar inside Panel 11 years ago
Panel.c Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
Panel.h Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
Process.c Merge branch 'master' into wip 11 years ago
Process.h Merge branch 'master' into wip 11 years ago
ProcessList.c Visual tweaks: change color when following, add Broken Gray theme. 11 years ago
ProcessList.h Merge branch 'master' into wip 11 years ago
README a nicer look 12 years ago
README.md Add README.md for Github 12 years ago
RichString.c Do not trust isalpha(c) for values > 255. 11 years ago
RichString.h Refactored key handlers. 11 years ago
ScreenManager.c handle clicks on panel header line 11 years ago
ScreenManager.h Move FunctionBar inside Panel 11 years ago
Settings.c Fix NULL-termination of array for later use by String_freeArray. 11 years ago
Settings.h Merge fixes 11 years ago
SignalsPanel.c Simplify constructors. 11 years ago
SignalsPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
String.c Test realloc failure to make cppcheck happy 12 years ago
String.h There was a bug in my implementaion. No reason not to use the glibc version. 12 years ago
SwapMeter.c Sorry about the mega-patch. 11 years ago
SwapMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
TESTPLAN Add a test plan. 11 years ago
TasksMeter.c Major advances in FreeBSD port. 11 years ago
TasksMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
TraceScreen.c incremental search and filter reintegrated! 11 years ago
TraceScreen.h Move FunctionBar inside Panel 11 years ago
UptimeMeter.c Make UptimeMeter cross-platform again. 11 years ago
UptimeMeter.h Move UptimeMeter back into cross-platform code. 11 years ago
UsersTable.c major header cleanup 14 years ago
UsersTable.h major header cleanup 14 years ago
Vector.c This assert is no longer valid. 11 years ago
Vector.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
autogen.sh This seems necessary. 16 years ago
configure.ac Merge branch 'wip' of https://github.com/hishamhm/htop into freebsd 11 years ago
htop.1.in Tempus fugit. 11 years ago
htop.c Fixes to subclassing Process. 11 years ago
htop.desktop * corrections to the desktop entry file 17 years ago
htop.h Tempus fugit. 11 years ago
htop.png Updated icon! 12 years ago
test_spec.lua 84.9% test coverage in the wip branch! 11 years ago

README.md

htop

by Hisham Muhammad hisham@gobolinux.org

May, 2004 - January, 2014

Note

Alert Mac users, click here! The htop version you are using is a 5-year old fork -- help bring htop 1.x to the Mac!

Introduction

This is htop, an interactive process viewer. It requires ncurses. It is tested with Linux 2.6, but is also reported to work (and was originally developed) with the 2.4 series.

Note that, while, htop is Linux specific -- it is based on the Linux /proc filesystem -- it is also reported to work with FreeBSD systems featuring a Linux-compatible /proc. This is, however, unsupported. Contact the packager for your system when reporting problems on platforms other than Linux.

This software has evolved considerably during the last years, and is reasonably complete, but there is still room for improvement. Read the TODO file to see what's known to be missing.

Comparison between 'htop' and 'top'

  • In 'htop' you can scroll the list vertically and horizontally to see all processes and full command lines.
  • In 'top' you are subject to a delay for each unassigned key you press (especially annoying when multi-key escape sequences are triggered by accident).
  • 'htop' starts faster ('top' seems to collect data for a while before displaying anything).
  • In 'htop' you don't need to type the process number to kill a process, in 'top' you do.
  • In 'htop' you don't need to type the process number or the priority value to renice a process, in 'top' you do.
  • In 'htop' you can kill multiple processes at once.
  • 'top' is older, hence, more tested.

Compilation instructions

This program is distributed as a standard autotools-based package. See the INSTALL file for detailed instructions, but you are probably used to the common ./configure/make/make install routine.

When fetching the code from the development repository, you need to run the ./autogen.sh script, which in turn requires autotools to be installed.

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

if not all keys work check your curses configuration.