Try to add '--as-needed' before linking to librt
1 file changed
tree: aaad3c2dc717ceaf57a984b9ad2852725047c23d
  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. bsd/
  103. configure.ac
  104. cygwin/
  105. darwin/
  106. dragonflybsd/
  107. freebsd/
  108. htop.1.in
  109. htop.c
  110. htop.desktop
  111. htop.h
  112. htop.png
  113. interix/
  114. linux/
  115. local-curses.h
  116. openbsd/
  117. scripts/
  118. solaris/
  119. test_spec.lua
  120. 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)