Improve discoverability of the expand/collapse feature.
It is now accessible via F6 when on tree view (as a bonus, it is
now also reachable via the mouse). The function bar now dynamically
changes to reflect the toggle nature of the tree-view mode (F5)
and the F6 key serves as expand/collapse when on tree mode,
and its previous behavior of bringing up the "Sort By" menu
(which only made sense on non-tree mode). Users wishing to go to
the "Sort By" menu straight from Tree View can still do so with the
"<" and ">" keys (the top-compatible keys for sort selection).
4 files changed
tree: 003a45252e211016edb8ec71518efb321fd5aced
  1. AUTHORS
  2. Affinity.c
  3. Affinity.h
  4. AffinityPanel.c
  5. AffinityPanel.h
  6. AvailableColumnsPanel.c
  7. AvailableColumnsPanel.h
  8. AvailableMetersPanel.c
  9. AvailableMetersPanel.h
  10. BatteryMeter.c
  11. BatteryMeter.h
  12. COPYING
  13. CPUMeter.c
  14. CPUMeter.h
  15. CRT.c
  16. CRT.h
  17. CategoriesPanel.c
  18. CategoriesPanel.h
  19. ChangeLog
  20. CheckItem.c
  21. CheckItem.h
  22. ClockMeter.c
  23. ClockMeter.h
  24. ColorsPanel.c
  25. ColorsPanel.h
  26. ColumnsPanel.c
  27. ColumnsPanel.h
  28. DisplayOptionsPanel.c
  29. DisplayOptionsPanel.h
  30. FunctionBar.c
  31. FunctionBar.h
  32. Hashtable.c
  33. Hashtable.h
  34. Header.c
  35. Header.h
  36. HostnameMeter.c
  37. HostnameMeter.h
  38. INSTALL
  39. IOPriority.c
  40. IOPriority.h
  41. IOPriorityPanel.c
  42. IOPriorityPanel.h
  43. IncSet.c
  44. IncSet.h
  45. ListItem.c
  46. ListItem.h
  47. LoadAverageMeter.c
  48. LoadAverageMeter.h
  49. Makefile.am
  50. MemoryMeter.c
  51. MemoryMeter.h
  52. Meter.c
  53. Meter.h
  54. MetersPanel.c
  55. MetersPanel.h
  56. NEWS
  57. Object.c
  58. Object.h
  59. OpenFilesScreen.c
  60. OpenFilesScreen.h
  61. Panel.c
  62. Panel.h
  63. Process.c
  64. Process.h
  65. ProcessList.c
  66. ProcessList.h
  67. README
  68. RichString.c
  69. RichString.h
  70. ScreenManager.c
  71. ScreenManager.h
  72. Settings.c
  73. Settings.h
  74. SignalsPanel.c
  75. SignalsPanel.h
  76. String.c
  77. String.h
  78. SwapMeter.c
  79. SwapMeter.h
  80. TasksMeter.c
  81. TasksMeter.h
  82. TraceScreen.c
  83. TraceScreen.h
  84. UptimeMeter.c
  85. UptimeMeter.h
  86. UsersTable.c
  87. UsersTable.h
  88. Vector.c
  89. Vector.h
  90. autogen.sh
  91. configure.ac
  92. htop.1.in
  93. htop.c
  94. htop.desktop
  95. htop.h
  96. htop.png
  97. m4/
  98. scripts/
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.