- Start htop:htop- Start htop displaying only processes owned by given user:htop -u [user_name]- Get help about interactive commands:?
Htop is a free (GPL) ncurses-based process viewer for Linux.
It is similar to top, but allows you to scroll vertically and horizontally, so you can see all the processes running on the system, along with their full command lines, as well as viewing them as a process tree, selecting multiple processes and acting on them all at once.
Tasks related to processes (killing, renicing) can be done without entering their PIDs.
Mandatory arguments to long options are mandatory for short options too.
The following commands are supported while in htop:
The following columns can display data about each process. A value of '-' in all the rows indicates that a column is unsupported on your system, or currently unimplemented in htop. The names below are the ones used in the "Available Columns" section of the setup screen. If a different name is shown in htop's main screen, it is shown below in parenthesis.
By default htop reads its configuration from the XDG-compliant path ~/.config/htop/htoprc -- the configuration file is overwritten by htop's in-program Setup configuration, so it should not be hand-edited. If no user configuration exists htop tries to read the system-wide configuration from /etc/htoprc and as a last resort, falls back to its hard coded defaults.
You may override the location of the configuration file using the $HTOPRC environment variable (so you can have multiple configurations for different machines that share the same home directory, for example).
Memory sizes in htop are displayed as they are in tools from the GNU Coreutils (when ran with the --human-readable option). This means that sizes are printed in powers of 1024. (e.g., 1023M = 1072693248 Bytes)
The decision to use this convention was made in order to conserve screen space and make memory size representations consistent throughout htop.
proc(5), top(1), free(1), ps(1), uptime(1), limits.conf(5)
htop is developed by Hisham Muhammad <email@example.com>.
This man page was written by Bartosz Fenski <firstname.lastname@example.org> for the Debian GNU/Linux distribution (but it may be used by others). It was updated by Hisham Muhammad, and later by Vincent Launchbury, who wrote the 'Columns' section.