./sysutils/htop, Enhanced version of top utility

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.0.5, Package name: htop-3.0.5, Maintainer: pkgsrc-users

This is htop, an interactive process viewer.

Comparison between 'htop' and '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.

Required to run:
[sysutils/desktop-file-utils] [devel/ncursesw] [lang/python37]

Required to build:

Master sites:

SHA1: de974e38e2c8d5900a4ab363111cb0544d391547
RMD160: 0963f4f94abaae2b2fa949c6a84b872415321421
Filesize: 290.948 KB

Version history: (Expand)

CVS history: (Expand)

   2021-03-15 23:23:59 by Santhosh Raju | Files touched by this commit (7) | Package updated
Log message:
sysutils/htop: Updates to 3.0.5

- Updates the MASTER_SITES to point to the new repository.
- Updates the HOMEPAGE.

Changes since 2.2.0:

What's new in version 3.0.5

* BUGFIX / SECURITY: InfoScreen: fix uncontrolled format string
* BUGFIX: Improve white text in the Light Terminal colour scheme
  (both of the above thanks to V)
* Enable the function bar on the main screen to be hidden (see Setup -> \ 
Display options)
* BUGFIX: Reduce layout issues esp. around printing wide characters (not \ 
complete yet)
* BUGFIX: Make the follow function exit cleanly after followed process died
* Solaris: make Process callbacks static
* Update help and man page for improved -t / -s options
* Drop usage of formatted error messages from <err.h>
* Show arrow indicating order of sorted process column
* Lots of plumbing around the internal Hashtable, hardening and code cleanups
* LibSensors: add support for Ryzen CPUs
  (thanks to Matej Dian)
* BUGFIX: Fix CPU percentage on M1 silicon Macs
  (thanks to Luke Groeninger)
* LoadMeter: dynamically adjust color and total of bar
* Find libsensors.so.4 for Fedora and friends
* Add support to display CPU frequencies on Solarish platforms
  (thanks to Dominik Hassler)
* Enable going back to previous search matches (Shift-F3)
* Added keybind 'N' for sorting by PID (drops 'n'/'N' as not used before much)
  (thanks to Jake Mannens)

What's new in version 3.0.4

* Separate tree and list sort orders
* Invert Process_compare so that superclass matches run first
  (thanks to Hisham Muhammad)
* Unhardcode Mac OS tick-to-milliseconds conversion
  (thanks to Alexander Momchilov)
* Check if clock_gettime needs linking of librt
* Define O_PATH if not already defined
  (thanks to Chris Burr)
* Add column on Mac for processes running under translation
  (thanks to Dániel Bakai)
* Configure check for additional linker flags for keypad(3)
* PSI Meter: constant width and only print ten-duration as bar
* Sort in paused mode after inverting sort order
* Handle absence of package CPU temperature
* Meter: restore non-wide-character build
* LibSensors: restore temperature for Raspberry Pi
* MainPanel: do not reset hideProcessSelection on KEY_SHUFFLE
* BarMeter: rework text padding
* Panel: rework drawing of FunctionBar
* Meter: fix artifacts with very tiny width
* DragonFlyBSD updates
* BUGFIX: Fix dlopen issue for libsensors5 for some platforms
* BUGFIX: Fix broken tree display on inverted sort order
* BUGFIX: Fix pause mode ("Z") in tree view
* BUGFIX: Correct timebase for non-x86 CPUs on Darwin
* BUGFIX: Avoid NULL dereference on zombie processes
* Document dynamic bindings and assumed external configuration
* Update key mapping documentation for sorting

What's new in version 3.0.3

* Process sorting in 'tree' mode
  (thanks to Maxim Zhiburt)
* Improved command display/sort functionality
  (thanks to Narendran Gopalakrishnan)
* Add screen for active file locks
  (thanks to Fynn J. Wulf)
* Calculate library size (M_LRS column) from maps file
  (thanks to Fynn J. Wulf)
* Add a Zram meter
  (thanks to Murloc Knight)
* Add Linux cwd process column
* Dynamically load libsensors at runtime
* Improve PressureStall Meter display strings
* Hide process selection on ESC
* Fully support non-ascii characters in Meter-Bar
* Add support to change numeric options in settings screen
* Rename virtual memory column from M_SIZE to M_VIRT
* Add process column for normalized CPU usage
* Show CPU temperature in CPU meter
* Drop hideThreads Setting
* Add a systemd meter
* Add a network IO meter
* Add a SELinux meter
* Compress size of default FunctionBar
* Updates to the OpenFiles screen
* Continue updating header data in paused mode
* BUGFIX: Handle data wraparounds in IO meters
* BUGFIX: Update InfoScreen content on resize
* Add security attribute process column
* Add DiskIOMeter for IO read/write usage
* Read CPU frequency from sysfs by default
* Add Linux process column for context switches
* Several FreeBSD and Mac OS X platform updates
  (thanks to Christian Göttsche)
* Add process environment for FreeBSD
  (thanks to Ross Williams)
* Parse POWER_SUPPLY_CAPACITY for Linux Battery meter
  (thanks to Jan Palus)
* Add octuple-column CPU meters.
* BUGFIX: On Linux consider ZFS ARC to be cache
  (thanks to @multi)
* BUGFIX: Limit screen title length to window width
* Show selected command wrapped in a separate window
  (thanks to @ryenus)
* Allow to pass '/' for item search
* Document implicit incremental search
* Handle 'q' as quit if first character
* Avoid expensive build of process tree when not using it
* Include documentation for COMM and EXE
* Distinguish display of no permissions for reading M_LRS
* Only calculate M_LRS size every 2 seconds
* Improvements to comm / cmdline display functionality
* Merged view for COMM, EXE and cmdline
  (thanks to Narendran Gopalakrishnan and Benny Baumann)
* Consistent kernel thread display for COMM/EXE columns
* Central fault handling for all platforms
* Handle parsing envID & VPid from process status file
* Use threshold for display of guest/steal/irq meters
* Enhance highlighting of semi-large and large numbers
* Documentation on the repository style guide
  (thanks to Benny Baumann)
* Align processor identifier to the right
  (thanks to Christian Hesse)
* Document M_PSS, M_PSSWP, M_SWAP in man page
* Add Date and DateTime meters
  (thanks to Michael F. Schönitzer)
* BUGFIX: Fix Solaris 11.4 due to missing ZFS ARC kstats
  (thanks to @senjan)
* Code hardening, speedups, fd and memory leak fixes
  (thanks to Christian Göttsche and Benny Baumann)
* Number CPUs from zero by default
  (thanks to Zev Weiss)
* Remove residual python checks during the build process
  (thanks to Stephen Gregoratto)

What's new in version 3.0.2

* BUGFIX: Drop 'vim_mode' - several issues, needs rethink
* BUGFIX: fix regression in -u optional-argument handling
* Build system rework to remove python, header generation
  (thanks to Zev Weiss and Hugo Musso Gualandi)
* BUGFIX: report nice level correctly on Solaris
  (thanks to Dominik Hassler)
* CI, code quality improvements
  (thanks to Tobias Kortkamp, Christian Hesse, Benny Baumann)

What's new in version 3.0.1

* Coverity fixes, CI improvements, documentation updates
* BUGFIX: Fix early exit with longer sysfs battery paths
* BUGFIX: Improve OOM output, fix sorting
  (thanks to Christian Göttsche)
* Rework check buttons and tree open/closed
  (thanks to Bert Wesarg)
* Add -U/--no-unicode option to disable unicode
  (thanks to Christian Hesse)
* Improvements to the affinity panel
  (thanks to Bert Wesarg)

What's new in version 3.0.0

* New maintainers - after a prolonged period of inactivity
  from Hisham, the creator and original maintainer, a team
  of community maintainers have volunteered to take over a
  fork at https://htop.dev and https://github.com/htop-dev
  to keep the project going.
* Support ZFS ARC statistics
  (thanks to Ross Williams)
* Support more than 2 smaller CPU meter columns
  (thanks to Christoph Budziszewski)
* Support Linux proportional set size metrics
  (thanks to @linvinus, @ntninja and @himikof)
* Support Linux pressure stall information metrics
  (thanks to Ran Benita)
* New display option to show CPU frequency in CPU meters
  (thanks to Arnav Singh)
* Update Linux sysfs battery discovery for recent kernels
  (thanks to @smattie)
* Add hardware topology information in the affinity panel
  (thanks to Bert Wesarg)
* Add timestamp reporting to the strace screen
  (thanks to Mario Harjac)
* Add simple, optional vim key mapping mode
  (thanks to Daniel Flanagan)
* Added an option to disable the mouse
  (thanks to MartinJM)
* Add Solaris11 compatibility
  (thanks to Jan Senolt)
* Without an argument -u uses $USER value automatically
  (thanks to @solanav)
* Support less(1) search navigation shortcuts
  (thanks to @syrrim)
* Update the FreeBSD maximum PID to match FreeBSD change
  (thanks to @multiplexd)
* Report values larger than 100 terabytes
  (thanks to @adrien1018)
* Widen ST_UID (UID) column to allow for UIDs > 9999
  (thanks to DLange)
* BUGFIX: fix makefiles for building with clang
  (thanks to Jorge Pereira)
* BUGFIX: fix <sys/sysmacros.h> major() usage
  (thanks to @wataash and Kang-Che Sung)
* BUGFIX: fix the STARTTIME column on FreeBSD
  (thanks to Rob Crowston)
* BUGFIX: truncate overwide jail names on FreeBSD
  (thanks to Rob Crowston)
* BUGFIX: fix reported memory values on FreeBSD
  (thanks to Tobias Kortkamp)
* BUGFIX: fix reported CPU meter values on OpenBSD
  (thanks to @motet-a)
* BUGFIX: correctly identify other types of zombie process
  (thanks to @joder)
* BUGFIX: improve follow-process handling in some situations
  (thanks to @wangqr)
* BUGFIX: fix custom meters reverting to unexpected setting
  (thanks to @wangqr)
* BUGFIX: close pipe after running lsof(1)
  (thanks to Jesin)
* BUGFIX: meters honour setting of counting CPUs from 0/1
  (thanks to @rnsanchez)
   2020-12-04 21:45:51 by Nia Alarie | Files touched by this commit (456)
Log message:
Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   2019-04-25 09:33:32 by Maya Rashish | Files touched by this commit (620)
Log message:
PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
   2018-11-05 13:19:23 by Jonathan Perkin | Files touched by this commit (5) | Package updated
Log message:
htop: Update to 2.2.0.

What's new in htop 2.2.0:

  * Solaris/Illumos/OpenIndiana support (thanks to Guy M. Broome)
  * -t/--tree flag for starting in tree-view mode (thanks to Daniel Flanagan)
  * macOS: detects High Sierra version to avoid OS bug (thanks to Pierre
  * OpenBSD: read battery data (thanks to @nerd972)
  * Various automake and build improvements (thanks to Kang-Che Sung)
  * Check for pkg-config when building with --enable-delayacct (thanks to
    @florian2833z for the report)
  * Avoid some bashisms in configure script (thanks to Jesin)
  * Use CFLAGS from ncurses*-config if present (thanks to Michael Klein)
  * Header generator supports non-UTF-8 environments (thanks to @volkov-am)
  * Linux: changed detection of kernel threads
  * Collapse current subtree pressing Backspace
  * BUGFIX: fix behavior of SYSCR column (thanks to Marc Kleine-Budde)
  * BUGFIX: obtain exit code of lsof correctly (thanks to @wangqr)
  * BUGFIX: fix crash with particular keycodes (thanks to Wellington Torrejais
    da Silva for the report)
  * BUGFIX: fix issue with small terminals (thanks to Daniel Elf for the report)
  * BUGFIX: fix terminal color issues (thanks to Kang-Che Sung for the report)
  * BUGFIX: preserve LDFLAGS when building (thanks to Lance Frederickson for
    the report)
  * BUGFIX: fixed overflow for systems with >= 100 signals

What's new in htop 2.1.0:

 * Linux: Delay accounting metrics (thanks to André Carvalho)
 * DragonFly BSD support (thanks to Diederik de Groot)
 * Support for real-time signals (thanks to Kang-Che Sung)
 * 'c' key now works with threads as well
 * Session column renamed from SESN to SID (thanks to Kamyar Rasta)
 * Improved UI for meter style selection (thanks to Kang-Che Sung)
 * Improved code for constructing process tree (thanks to wangqr)
 * Compile-time option to disable setuid
 * Error checking of various standard library operations
 * Replacement of sprintf with snprintf (thanks to Tomasz Kramkowski)
 * Linux: performance improvements in battery meter
 * Linux: update process TTY device
 * Linux: add support for sorting TASK_IDLE (thanks to Vladimir Panteleev)
 * Linux: add upper-bound to running process counter (thanks to Lucas Correia
   Villa Real)
 * BUGFIX: avoid crash when battery is removed (thanks to Jan Chren)
 * BUGFIX: macOS: fix infinite loop in tree view (thanks to Wataru Ashihara)
   2017-11-24 03:06:13 by Maya Rashish | Files touched by this commit (3)
Log message:
htop: workaround differences in how linux and netbsd count memory usage

a bogus value is displayed for used memory as usedMem ends up as a negative
quantity. use (total memory - free memory) instead.

PR pkg/52669: htop displays wrong used memory
   2017-03-25 11:53:59 by Maya Rashish | Files touched by this commit (2)
Log message:
htop: add missing include to fix build on netbsd-7.99.x. must've
side-loaded sys/time.h before.

From Chavdar Ivanov on pkgsrc-users.
   2017-01-31 23:24:28 by Maya Rashish | Files touched by this commit (1)
Log message:
Remove commented out OS limitation  - it doesn't make sense to limit this
package (since 2.x), it will work for most.