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