update bar when clicking header.
1 file changed
tree: dc119e2c46f1951bd339ed8697331cd19daff613
  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. MainPanel.c
  49. MainPanel.h
  50. Makefile.am
  51. MemoryMeter.c
  52. MemoryMeter.h
  53. Meter.c
  54. Meter.h
  55. MetersPanel.c
  56. MetersPanel.h
  57. NEWS
  58. Object.c
  59. Object.h
  60. OpenFilesScreen.c
  61. OpenFilesScreen.h
  62. Panel.c
  63. Panel.h
  64. Process.c
  65. Process.h
  66. ProcessList.c
  67. ProcessList.h
  68. README
  69. RichString.c
  70. RichString.h
  71. ScreenManager.c
  72. ScreenManager.h
  73. Settings.c
  74. Settings.h
  75. SignalsPanel.c
  76. SignalsPanel.h
  77. String.c
  78. String.h
  79. SwapMeter.c
  80. SwapMeter.h
  81. TESTPLAN
  82. TasksMeter.c
  83. TasksMeter.h
  84. TraceScreen.c
  85. TraceScreen.h
  86. UptimeMeter.c
  87. UptimeMeter.h
  88. UsersTable.c
  89. UsersTable.h
  90. Vector.c
  91. Vector.h
  92. autogen.sh
  93. configure.ac
  94. freebsd/
  95. htop.1.in
  96. htop.c
  97. htop.desktop
  98. htop.h
  99. htop.png
  100. linux/
  101. m4/
  102. scripts/
  103. test_spec.lua
  104. 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.