Add a logic to decide where to break process tree loop if exists
3 files changed
tree: 470641fd269bf88c727a6b3ef70fa9fd5cc10271
  1. .gitignore
  2. AUTHORS
  3. Action.c
  4. Action.h
  5. Affinity.c
  6. Affinity.h
  7. AffinityPanel.c
  8. AffinityPanel.h
  9. ArgScreen.c
  10. AvailableColumnsPanel.c
  11. AvailableColumnsPanel.h
  12. AvailableMetersPanel.c
  13. AvailableMetersPanel.h
  14. BatteryMeter.c
  15. BatteryMeter.h
  16. CONTRIBUTING.md
  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. ControlOptionsPanel.c
  34. DisplayOptionsPanel.c
  35. DisplayOptionsPanel.h
  36. EnvScreen.c
  37. EnvScreen.h
  38. FunctionBar.c
  39. FunctionBar.h
  40. Hashtable.c
  41. Hashtable.h
  42. Header.c
  43. Header.h
  44. HostnameMeter.c
  45. HostnameMeter.h
  46. IOUtils.c
  47. IncSet.c
  48. IncSet.h
  49. InfoScreen.c
  50. InfoScreen.h
  51. KStat.c
  52. ListItem.c
  53. ListItem.h
  54. LoadAverageMeter.c
  55. LoadAverageMeter.h
  56. MainPanel.c
  57. MainPanel.h
  58. Makefile.am
  59. MemoryMeter.c
  60. MemoryMeter.h
  61. Meter.c
  62. Meter.h
  63. MetersPanel.c
  64. MetersPanel.h
  65. NEWS
  66. Object.c
  67. Object.h
  68. OpenFilesScreen.c
  69. OpenFilesScreen.h
  70. Panel.c
  71. Panel.h
  72. Process.c
  73. Process.h
  74. ProcessList.c
  75. ProcessList.h
  76. README
  77. RichString.c
  78. RichString.h
  79. ScreenManager.c
  80. ScreenManager.h
  81. Settings.c
  82. Settings.h
  83. SignalsPanel.c
  84. SignalsPanel.h
  85. StringUtils.c
  86. StringUtils.h
  87. SwapMeter.c
  88. SwapMeter.h
  89. TESTPLAN
  90. TasksMeter.c
  91. TasksMeter.h
  92. TraceScreen.c
  93. TraceScreen.h
  94. UptimeMeter.c
  95. UptimeMeter.h
  96. UsersTable.c
  97. UsersTable.h
  98. Vector.c
  99. Vector.h
  100. XAlloc.c
  101. XAlloc.h
  102. aix/
  103. autogen.sh
  104. bsd/
  105. configure.ac
  106. cygwin/
  107. darwin/
  108. dragonflybsd/
  109. dump-builtin-color-scheme.c
  110. freebsd/
  111. htop.1.in
  112. htop.c
  113. htop.desktop
  114. htop.h
  115. htop.png
  116. interix/
  117. linux/
  118. local-curses.h
  119. openbsd/
  120. scripts/
  121. solaris/
  122. test_spec.lua
  123. 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)