Fun with htop
Advanced htop Features on Popular Unix Platforms
Deltas from
top- sophisticated interactive behaviors
- thematic, semantic color schemes
- operates at the POSIX thread level, not just full processes
Features
- customize display
C - search
/or filter\lightweight processes (LWP, aka pthreads) by name - filter LWP by user name
u - toggle
ttree view - per-LWP commands
ssystem tracellist of open file descriptorseenvironment variablesksend a signal with kill
- customize display
Linux
OOTB fully operational feature-set.
OSX Port
- Enable DTrace (requires boot into Recovery Mode to disable SIP)
- copy dtruss-htop to
~/binand execute to createstracesymlink - launch
htopas root
Solaris 11 / FreeBSD Ports
- ZFS ARC statistics
- Zone Name / ID columns
- Solaris LWP Accounting Deltas
- bi-level PID + LWPID
- does not provide full command arguments, just command name
