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 1afbc19087 safer code, test for return of fcntl 12 years ago
m4 Remove generated files from version history 15 years ago
scripts Possible to regenerate headers outside of srcdir 12 years ago
AUTHORS Initial import. 20 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 Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 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 Refactor and fix resource leaks. 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 Fix order of calloc arguments. 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 Better support for Home and End keys 12 years ago
CRT.h alignment improvements 12 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 Restrict size of read. 12 years ago
Header.h alignment improvements 12 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
IOPriority.c Add IO priority support ('i' key) 14 years ago
IOPriority.h Add IO priority support ('i' key) 14 years ago
IOPriorityPanel.c Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
IOPriorityPanel.h Add IO priority support ('i' key) 14 years ago
IncSet.c Fix order of calloc arguments. 12 years ago
IncSet.h search and filter for the strace and lsof screens! 14 years ago
ListItem.c Fix crash when pressing 'u'. Thanks to Quentin Carbonneaux. 13 years ago
ListItem.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 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 Possible to regenerate headers outside of srcdir 12 years ago
MemoryMeter.c BUGFIX: Fix crash when adding meters and toggling detailed CPU time. 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 Remove useless assignment. 12 years ago
Meter.h alignment improvements 12 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 Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
Object.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 years ago
OpenFilesScreen.c Fix display of open files. 12 years ago
OpenFilesScreen.h Add .h file ref previous commit 12 years ago
Panel.c alignment improvements 12 years ago
Panel.h alignment improvements 12 years ago
Process.c Use proper format string for unsigned data. 12 years ago
Process.h Support for very large numbers, now tested on a 64-bit machine. 12 years ago
ProcessList.c xread may return -1. 12 years ago
ProcessList.h alignment improvements 12 years ago
README a nicer look 12 years ago
README.md Add README.md for Github 12 years ago
RichString.c alignment improvements 12 years ago
RichString.h Add extra checks in configure.ac for different locations of (n)curses.h 13 years ago
ScreenManager.c Don't end up killing init if process selected to be killed terminates before the user selects a signal. Closes #3606072. 13 years ago
ScreenManager.h major header cleanup 14 years ago
Settings.c alignment improvements 12 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 BUGFIX: Fix crash when adding meters and toggling detailed CPU time. 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 BUGFIX: Fix crash when adding meters and toggling detailed CPU time. 12 years ago
UptimeMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. 13 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 Added additional column to monitor OOM killer score of each process 12 years ago
htop.1.in Improve discoverability of the expand/collapse feature. 12 years ago
htop.c Fix compiler complaints. 12 years ago
htop.desktop * corrections to the desktop entry file 17 years ago
htop.h Improve discoverability of the expand/collapse feature. 12 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.