Always update PPID on all supported platforms
3 files changed
tree: 98f7712136cfbf5c6bad11cf539207ab85f9ff53
  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. CONTRIBUTING.md
  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. EnvScreen.c
  35. EnvScreen.h
  36. FunctionBar.c
  37. FunctionBar.h
  38. Hashtable.c
  39. Hashtable.h
  40. Header.c
  41. Header.h
  42. HostnameMeter.c
  43. HostnameMeter.h
  44. IOUtils.c
  45. IncSet.c
  46. IncSet.h
  47. InfoScreen.c
  48. InfoScreen.h
  49. KStat.c
  50. ListItem.c
  51. ListItem.h
  52. LoadAverageMeter.c
  53. LoadAverageMeter.h
  54. MainPanel.c
  55. MainPanel.h
  56. Makefile.am
  57. MemoryMeter.c
  58. MemoryMeter.h
  59. Meter.c
  60. Meter.h
  61. MetersPanel.c
  62. MetersPanel.h
  63. NEWS
  64. Object.c
  65. Object.h
  66. OpenFilesScreen.c
  67. OpenFilesScreen.h
  68. Panel.c
  69. Panel.h
  70. Process.c
  71. Process.h
  72. ProcessList.c
  73. ProcessList.h
  74. README
  75. RichString.c
  76. RichString.h
  77. ScreenManager.c
  78. ScreenManager.h
  79. Settings.c
  80. Settings.h
  81. SignalsPanel.c
  82. SignalsPanel.h
  83. StringUtils.c
  84. StringUtils.h
  85. SwapMeter.c
  86. SwapMeter.h
  87. TESTPLAN
  88. TasksMeter.c
  89. TasksMeter.h
  90. TraceScreen.c
  91. TraceScreen.h
  92. UptimeMeter.c
  93. UptimeMeter.h
  94. UsersTable.c
  95. UsersTable.h
  96. Vector.c
  97. Vector.h
  98. XAlloc.c
  99. XAlloc.h
  100. aix/
  101. autogen.sh
  102. configure.ac
  103. cygwin/
  104. darwin/
  105. dragonflybsd/
  106. freebsd/
  107. htop.1.in
  108. htop.c
  109. htop.desktop
  110. htop.h
  111. htop.png
  112. interix/
  113. linux/
  114. local-curses.h
  115. openbsd/
  116. scripts/
  117. solaris/
  118. test_spec.lua
  119. unsupported/
README.md

Build Status PayPal donate

htop

by Hisham Muhammad hisham@gobolinux.org (2004 - 2016)

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.

When compiling from a release tarball, run:

./configure && make

For compiling sources downloaded from the Git repository, run:

./autogen.sh && ./configure && make

By default make install will install into /usr/local, for changing the path use ./configure --prefix=/some/path.

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.

License

GNU General Public License, version 2 (GPL-2.0)