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
Malhaire)
* 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)
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
Changes:
Mac OS X: stop trying when task_for_pid fails for a process, stops spamming logs with errors.
Add Ctrl+A and Ctrl+E to go to beginning and end of line
FreeBSD: fixes for CPU calculation (thanks to Tim Creech, Andy Pilate)
Usability: auto-follow process after a search.
Use Linux backend on GNU Hurd
Improvement for reproducible builds.
BUGFIX: Fix behavior of Alt-key combinations (thanks to Kang-Che Sung)
Various code tweaks and cleanups (thanks to Kang-Che Sung)
Update to 2.0.0 from coypu in wip, updated by myself to 2.0.1.
What's new in version 2.0.1
* OpenBSD: Various fixes and improvements
(thanks to Michael McConville and Juan Francisco Cantero Hurtado)
* FreeBSD: fix CPU and memory readings
(thanks to Tim Creech, Hung-Yi Chen, Bernard Spil, Greg V)
* FreeBSD: add battery support
(thanks to Greg V)
* Linux: Retain last-obtained name of a zombie process
* Mac OS X: Improve portability for OS X versions
(thanks to Michael Klein)
* Mac OS X: Fix reading command-line arguments and basename
* Mac OS X: Fix process state information
* Mac OS X: Fix tree view collapsing/expanding
* Mac OS X: Fix tree organization
* Mac OS X: Fix memory accounting
* Fix crash when emptying a column of meters
* Make Esc key more responsive
* Plus assorted fixes
What's new in version 2.0.0
* Platform abstraction layer
* Initial FreeBSD support
* Initial Mac OS X support
(thanks to David Hunt)
* Swap meter for Mac OSX
(thanks to Ștefan Rusu)
* OpenBSD port
(thanks to Michael McConville)
* FreeBSD support improvements
(thanks to Martin Misuth)
* Support for NCurses 6 ABI, including mouse wheel support
* Much improved mouse responsiveness
* Process environment variables screen
(thanks to Michael Klein)
* Higher-resolution UTF-8 based Graph mode
(Thanks to James Hall from vtop for the idea!)
* Show program path settings
(thanks to Tobias Geerinckx-Rice)
* BUGFIX: Fix crash when scrolling an empty filtered list.
* Use dynamic units for text display, and several fixes
(thanks to Christian Hesse)
* BUGFIX: fix error caused by overflow in usertime calculation.
(thanks to Patrick Marlier)
* Catch all memory allocation errors
(thanks to Michael McConville for the push)
* Several tweaks and bugfixes
(See the Git log for details and contributors!)
ac_cv_file__proc_meminfo=yes to "configure" script. As a result htop
will be built regardless of /proc is mounted or not (bulk builds).
Enable htop PR 39881 on NetBSD, Linux and FreeBSD only where
Linux-compatible procfs is available.
* Add support of NLWP field
(thanks to Bert Wesarg)
* BUGFIX: Fix use of configurable /proc location
(thanks to Florent Thoumie)
* Fix memory percentage calculation and make it saner
(thanks to Olev Kartau for the report)
* Added display of DRS, DT, LRS and TRS
(thanks to Matthias Lederhofer)
* BUGFIX: LRS and DRS memory values were flipped
(thanks to Matthias Lederhofer)
* BUGFIX: Don't crash on very high UIDs
(thanks to Egmont Koblinger)
htop is an enhanced version of top, the interactive process viewer,
which can display the list of processes in a tree form, like pstree.
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.