Truncate CAM path string according to column width
1 file changed
tree: 00c82b2e8b76d443bfbfde7c85fd3b8665169d3e
  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. Disk.c
  35. DiskList.c
  36. DiskPanel.c
  37. DisplayOptionsPanel.c
  38. DisplayOptionsPanel.h
  39. EnvScreen.c
  40. EnvScreen.h
  41. FieldData.h
  42. FunctionBar.c
  43. FunctionBar.h
  44. Hashtable.c
  45. Hashtable.h
  46. Header.c
  47. Header.h
  48. HostnameMeter.c
  49. HostnameMeter.h
  50. IOUtils.c
  51. IncSet.c
  52. IncSet.h
  53. InfoScreen.c
  54. InfoScreen.h
  55. KStat.c
  56. KernelStackTraceScreen.c
  57. ListItem.c
  58. ListItem.h
  59. LoadAverageMeter.c
  60. LoadAverageMeter.h
  61. MainPanel.c
  62. MainPanel.h
  63. Makefile.am
  64. MemoryMeter.c
  65. MemoryMeter.h
  66. Meter.c
  67. Meter.h
  68. MetersPanel.c
  69. MetersPanel.h
  70. NEWS
  71. Object.c
  72. Object.h
  73. OpenFilesScreen.c
  74. OpenFilesScreen.h
  75. Panel.c
  76. Panel.h
  77. Process.c
  78. Process.h
  79. ProcessList.c
  80. ProcessList.h
  81. README
  82. RichString.c
  83. RichString.h
  84. ScreenManager.c
  85. ScreenManager.h
  86. Settings.c
  87. Settings.h
  88. SignalsPanel.c
  89. SignalsPanel.h
  90. StringUtils.c
  91. StringUtils.h
  92. SwapMeter.c
  93. SwapMeter.h
  94. TESTPLAN
  95. TasksMeter.c
  96. TasksMeter.h
  97. TraceScreen.c
  98. TraceScreen.h
  99. UptimeMeter.c
  100. UptimeMeter.h
  101. UsersTable.c
  102. UsersTable.h
  103. Vector.c
  104. Vector.h
  105. XAlloc.c
  106. XAlloc.h
  107. aix/
  108. autogen.sh
  109. bsd/
  110. configure.ac
  111. contrib/
  112. cygwin/
  113. darwin/
  114. dragonflybsd/
  115. dump-builtin-color-scheme.c
  116. freebsd/
  117. haiku/
  118. htop.1.in
  119. htop.c
  120. htop.desktop
  121. htop.png
  122. hurd/
  123. interix/
  124. linux/
  125. local-curses.h
  126. openbsd/
  127. scripts/
  128. solaris/
  129. test_spec.lua
  130. unsupported/
README.md

htop

The Rivoreo customized version, forked from commit 402e46bb82964366746b86d77eb5afa69c279539.

The original version made by Hisham Muhammad hisham@gobolinux.org is available at an archived git repository.

Changes from original version

  • System call tracing support via truss(1), which is available in many Unix-like systems
  • Support showing process name in addition to process command line
  • AIX support, by Calvin Buckley calvin@cmpct.info
  • Many Solaris-specific bug fixes
  • Support showing ZFS ARC size on Solaris-kernel-based, Linux-based, kFreeBSD-based and macOS (Mac OS X) platforms
  • Android/Linux support
  • Linux CPU hot-plugging aware
  • Distinguishable effective user and real user of processes
  • Basic Interix support
  • Cygwin support
  • Many OpenBSD-specific bug fixes
  • Thread processes support for OpenBSD
  • Solaris support without libproc(3LIB) (which is a private library of the operating system)
  • Many byte-order related bug fixes
  • Support kFreeBSD-based systems without kvm(3) (which isn't a standard library on GNU/kFreeBSD)
  • FreeBSD 5 support
  • Enhanced kernel process detection logic for Linux-based platforms
  • Build-time detection of available signals
  • Process command line arguments screen (key A) just like the process environment screen (key e)
  • Processor times meter improvements for OpenBSD, by Antoine Motet antoine.motet@gmail.com
  • (hopefully bug-free) vi(1)-style key bindings support
  • Support showing process start time for all supported platforms except Haiku
  • Mouse support can now be disabled in setup
  • Handle circularized process tree(s) that may happening with some kernels
  • User-defined color schemes
  • Consistent process state names
  • Optional case-insensitive sorting
  • GNU/Hurd support
  • Kernel stack tracing of processes for Linux-based and kFreeBSD-based platforms
  • Haiku support

See the commit log for more.

Building environment requirements

  • GNU Make or BSD make.
  • A C99 compiler. Some platform-specific codes may use GNU C extensions; in that case, GCC 3.3+ or a compatible C compiler will be required.

Supported target platforms

Linux-based operating systems

A minimal of Linux 2.0 is required; while version 2.6 or later is recommended.

For GNU/Linux, GNU C Library 2.0 and later versions are supported.

For uC/Linux, only the uClibc 0.9.33.2 is supported.

For Android/Linux, Android 4.0 and later versions are supported.

Linux with other C library will likely work, but not tested.

kFreeBSD-based operating systems

A minimal of kFreeBSD 5.0 is required.

FreeBSD 5 and later releases are supported.

For GNU/kFreeBSD, only the GNU C Library 2.13 is tested and therefore supported.

DragonFly BSD

DragonFly BSD 5.0 and later releases are supported.

macOS (Mac OS X)

Mac OS X 10.4 and later releases are supported.

OpenBSD

OpenBSD 5.0 and later releases are supported.

Solaris

Solaris 9 and later releases are supported.

Currently only tested with GCC, therefore building with Sun C compiler is not supported.

Other Solars-kernel-based operating systems such as GNU/kOpenSolaris are currently not supported.

GNU/Hurd

Currently only tested with GNU C Library 2.19, GNU HURD 0.5 and GNU Mach 1.4. Although unsupported, it is expected to work with newer versions of operating system components.

AIX

Currently only tested on AIX 7.1. Although unsupported, it is expected to work on newer versions of the operating system.

Haiku

Haiku R1/alpha4 and later releases are supported.

Cygwin

Currently only tested on Cygwin 1.7.18.

Interix

Support is incomplete, many features won't work.

Interix 3.5 and later versions are supported.