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 2dcdd87658 Move UptimeMeter back into cross-platform code. 11 years ago
linux Move UptimeMeter back into cross-platform code. 11 years ago
m4 Remove generated files from version history 15 years ago
scripts Another portability tweak. 11 years ago
unsupported Move UptimeMeter into platform-dependent area. 11 years ago
.gitignore Add a .gitignore file 12 years ago
AUTHORS Initial import. 20 years ago
Action.c Builds on Linux again! 11 years ago
Action.h Builds on Linux again! 11 years ago
Affinity.c Fix order of calloc arguments. 12 years ago
Affinity.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
AffinityPanel.c Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
AffinityPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
AvailableColumnsPanel.c Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
AvailableColumnsPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
AvailableMetersPanel.c Move UptimeMeter into platform-dependent area. 11 years ago
AvailableMetersPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
BatteryMeter.c More sanity checks. 12 years ago
BatteryMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
COPYING Resolve license incompatibility issues, 16 years ago
CPUMeter.c Make blue text more readable. Closes #55. 12 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 Changes for supporting separate platform subdirectories. 11 years ago
CRT.h Changes for supporting separate platform subdirectories. 11 years ago
CategoriesPanel.c Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
CategoriesPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 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 Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
ColorsPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
ColumnsPanel.c Performance improvements due to conditional parsing of IO data depending on selected fields. 13 years ago
ColumnsPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
DisplayOptionsPanel.c Make CPU meter optionally account guest time in its percentages 12 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 Improve discoverability of the expand/collapse feature. 12 years ago
FunctionBar.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
Hashtable.c Fix order of calloc arguments. 12 years ago
Hashtable.h major header cleanup 14 years ago
Header.c Move UptimeMeter into platform-dependent area. 11 years ago
Header.h Decouple Header from Meter classes. 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 Fix out-of-bounds write. 12 years ago
IncSet.h Add corresponding .h file. 12 years ago
ListItem.c Compare with long, for 64-bit systems 12 years ago
ListItem.h Compare with long, for 64-bit systems 12 years ago
LoadAverageMeter.c BUGFIX: Fix crash when adding meters and toggling detailed CPU time. 12 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
Makefile.am Move UptimeMeter into platform-dependent area. 11 years ago
MemoryMeter.c Make blue text more readable. Closes #55. 12 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 Move UptimeMeter into platform-dependent area. 11 years ago
Meter.h Move UptimeMeter into platform-dependent area. 11 years ago
MetersPanel.c Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
MetersPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 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 Let's see if this assert makes static analyzers happier. 12 years ago
OpenFilesScreen.h Add .h file ref previous commit 12 years ago
Panel.c Fix crash when scrolling in a filter view with no processes. Closes #76. 12 years ago
Panel.h alignment improvements 12 years ago
Process.c Builds on Linux again! 11 years ago
Process.h Changes for supporting separate platform subdirectories. 11 years ago
ProcessList.c Add ProcessList_delete to the variable interface. 11 years ago
ProcessList.h Add ProcessList_delete to the variable interface. 11 years ago
README a nicer look 12 years ago
README.md Add README.md for Github 12 years ago
RichString.c Changes for supporting separate platform subdirectories. 11 years ago
RichString.h Refactored key handlers. 11 years ago
ScreenManager.c Refactored key handlers. 11 years ago
ScreenManager.h major header cleanup 14 years ago
Settings.c Decouple Header from Meter classes. 11 years ago
Settings.h alignment improvements 12 years ago
SignalsPanel.c Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 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 change swap to M for consistency. Closes #63. 12 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
TasksMeter.c BUGFIX: Fix crash when adding meters and toggling detailed CPU time. 12 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 safer code, test for return of fcntl 12 years ago
TraceScreen.h search and filter for the strace and lsof screens! 14 years ago
UptimeMeter.c Move UptimeMeter back into cross-platform code. 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 shorten scope of variable. 12 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 Get Linux "emulation" working again for our FreeBSD folks using linprocfs. 11 years ago
htop.1.in Added columns for the page faults in the manpage 12 years ago
htop.c Builds on Linux again! 11 years ago
htop.desktop * corrections to the desktop entry file 17 years ago
htop.h Changes for supporting separate platform subdirectories. 11 years ago
htop.png Updated icon! 12 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.