tree: d9dc4423d723d5ce5eb3bf6ade166e4bdb4272ec [path history] [download]
  1. .editorconfig
  2. .gitignore
  3. .travis.yml
  4. AUTHORS
  5. Action.c
  6. Action.h
  7. Affinity.c
  8. Affinity.h
  9. AffinityPanel.c
  10. AffinityPanel.h
  11. AvailableColumnsPanel.c
  12. AvailableColumnsPanel.h
  13. AvailableMetersPanel.c
  14. AvailableMetersPanel.h
  15. BatteryMeter.c
  16. BatteryMeter.h
  17. COPYING
  18. CPUMeter.c
  19. CPUMeter.h
  20. CRT.c
  21. CRT.h
  22. CategoriesPanel.c
  23. CategoriesPanel.h
  24. ChangeLog
  25. CheckItem.c
  26. CheckItem.h
  27. ClockMeter.c
  28. ClockMeter.h
  29. ColorsPanel.c
  30. ColorsPanel.h
  31. ColumnsPanel.c
  32. ColumnsPanel.h
  33. DisplayOptionsPanel.c
  34. DisplayOptionsPanel.h
  35. FunctionBar.c
  36. FunctionBar.h
  37. Hashtable.c
  38. Hashtable.h
  39. Header.c
  40. Header.h
  41. HostnameMeter.c
  42. HostnameMeter.h
  43. INSTALL
  44. IncSet.c
  45. IncSet.h
  46. ListItem.c
  47. ListItem.h
  48. LoadAverageMeter.c
  49. LoadAverageMeter.h
  50. MainPanel.c
  51. MainPanel.h
  52. Makefile.am
  53. MemoryMeter.c
  54. MemoryMeter.h
  55. Meter.c
  56. Meter.h
  57. MetersPanel.c
  58. MetersPanel.h
  59. NEWS
  60. Object.c
  61. Object.h
  62. OpenFilesScreen.c
  63. OpenFilesScreen.h
  64. Panel.c
  65. Panel.h
  66. Process.c
  67. Process.h
  68. ProcessList.c
  69. ProcessList.h
  70. README
  71. RichString.c
  72. RichString.h
  73. ScreenManager.c
  74. ScreenManager.h
  75. Settings.c
  76. Settings.h
  77. SignalsPanel.c
  78. SignalsPanel.h
  79. StringUtils.c
  80. StringUtils.h
  81. SwapMeter.c
  82. SwapMeter.h
  83. TESTPLAN
  84. TasksMeter.c
  85. TasksMeter.h
  86. TraceScreen.c
  87. TraceScreen.h
  88. UptimeMeter.c
  89. UptimeMeter.h
  90. UsersTable.c
  91. UsersTable.h
  92. Vector.c
  93. Vector.h
  94. autogen.sh
  95. configure.ac
  96. darwin/
  97. freebsd/
  98. htop.1.in
  99. htop.c
  100. htop.desktop
  101. htop.h
  102. htop.png
  103. linux/
  104. openbsd/
  105. scripts/
  106. test_spec.lua
  107. unsupported/
README.md

htop

by Hisham Muhammad hisham@gobolinux.org

2004 - 2015

Introduction

This is htop, an interactive process viewer. It requires ncurses. It is developed primarily on Linux, but we also have code for running under FreeBSD and Mac OS X (help and testing are wanted for these platforms!)

This software has evolved considerably over the years, and is reasonably complete, but there is always room for improvement.

Comparison between ‘htop’ and classic ‘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.