commit | 42c3a1fcb39458b6f8f39539baef94158bacf164 | [log] [download] |
---|---|---|
author | gmbroome <thrirhrafnir@gmail.com> | Tue Mar 27 12:27:12 2018 -0400 |
committer | Hisham Muhammad <hisham@gobolinux.org> | Tue Mar 27 13:27:12 2018 -0300 |
tree | 10bbdffe3e0b69cd5ede763086931bc38b2f14f3 | |
parent | 1cf8f429a5b672d44c7e87ca21b0a451f581fdae [diff] |
Solaris: Implement LWP enumeration (#768) Squashed the following commits: * Solaris: Get LWP enumeration working * Solaris: Make showing and hiding of kernel threads behave * Solaris: remove usage of lwpstatus that is no longer needed * Solaris: no discrete access to parent proc structure needed * Solaris: Restore runtime MaxPid detection after LWP changes * Solaris: Workaround virtual PID signal issue by shadowing kill() with a macro * Solaris: Fix unintention double-shifting of virtual PID for LWP enumeration * Solaris: Add LWPID to default display since LWP enumeration is also default * Solaris: use PAGE_SIZE_KB from Process.h instead of custom definition * Solaris: stop LWP enumeration at 1023 LWPs per proc since that is all we can handle in the virtual PID
by Hisham Muhammad hisham@gobolinux.org (2004 - 2016)
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.
htop
and classic top
htop
you can scroll the list vertically and horizontally to see all processes and full command lines.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).htop
you don't need to type the process number to kill a process, in top
you do.htop
you don't need to type the process number or the priority value to renice a process, in top
you do.htop
you can kill multiple processes at once.top
is older, hence, more tested.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.
GNU General Public License, version 2 (GPL-2.0)