Sorry about the mega-patch.
This is a work-in-progress, code is currently broken.
(Some actions, and notably, the header, are missing.)
51 files changed
tree: dafba704561386b31b6b8af6dafb5b9a2ba7453c
  1. .gitignore
  2. AUTHORS
  3. Action.c
  4. Action.h
  5. Affinity.c
  6. Affinity.h
  7. AffinityPanel.c
  8. AffinityPanel.h
  9. AvailableColumnsPanel.c
  10. AvailableColumnsPanel.h
  11. AvailableMetersPanel.c
  12. AvailableMetersPanel.h
  13. BatteryMeter.c
  14. BatteryMeter.h
  15. COPYING
  16. CPUMeter.c
  17. CPUMeter.h
  18. CRT.c
  19. CRT.h
  20. CategoriesPanel.c
  21. CategoriesPanel.h
  22. ChangeLog
  23. CheckItem.c
  24. CheckItem.h
  25. ClockMeter.c
  26. ClockMeter.h
  27. ColorsPanel.c
  28. ColorsPanel.h
  29. ColumnsPanel.c
  30. ColumnsPanel.h
  31. DisplayOptionsPanel.c
  32. DisplayOptionsPanel.h
  33. FunctionBar.c
  34. FunctionBar.h
  35. Hashtable.c
  36. Hashtable.h
  37. Header.c
  38. Header.h
  39. HostnameMeter.c
  40. HostnameMeter.h
  41. INSTALL
  42. IncSet.c
  43. IncSet.h
  44. ListItem.c
  45. ListItem.h
  46. LoadAverageMeter.c
  47. LoadAverageMeter.h
  48. Makefile.am
  49. MemoryMeter.c
  50. MemoryMeter.h
  51. Meter.c
  52. Meter.h
  53. MetersPanel.c
  54. MetersPanel.h
  55. NEWS
  56. Object.c
  57. Object.h
  58. OpenFilesScreen.c
  59. OpenFilesScreen.h
  60. Panel.c
  61. Panel.h
  62. Process.c
  63. Process.h
  64. ProcessList.c
  65. ProcessList.h
  66. README
  67. RichString.c
  68. RichString.h
  69. ScreenManager.c
  70. ScreenManager.h
  71. Settings.c
  72. Settings.h
  73. SignalsPanel.c
  74. SignalsPanel.h
  75. String.c
  76. String.h
  77. SwapMeter.c
  78. SwapMeter.h
  79. TasksMeter.c
  80. TasksMeter.h
  81. TraceScreen.c
  82. TraceScreen.h
  83. UptimeMeter.c
  84. UptimeMeter.h
  85. UsersTable.c
  86. UsersTable.h
  87. Vector.c
  88. Vector.h
  89. autogen.sh
  90. configure.ac
  91. htop.1.in
  92. htop.c
  93. htop.desktop
  94. htop.h
  95. htop.png
  96. linux/
  97. m4/
  98. scripts/
  99. unsupported/
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.