HxHippy

htop

Interactive process viewer and system monitor

Overview

An interactive system-monitor, process viewer, and process manager. An enhanced version of top with a more user-friendly interface.

Syntax

htop [options]

Common Options

-d, --delay=DELAY

Set the delay between updates, in tenths of seconds.

-u, --user=USERNAME

Show only processes of a given user.

-p, --pid=PID

Show only the given PIDs.

-s, --sort-key=COLUMN

Sort by this column.

-t, --tree

Show processes in tree view.

Interactive Commands

KeyAction
F1 or hHelp screen
F2 or SSetup / Configuration
F3 or /Incremental process search
F4 or \\Filter processes by name
F5 or tToggle tree view
F6 or <, >Select sort column
F9 or kKill process
F10 or qQuit
SpaceTag/untag process
uShow only processes of a selected user
MSort by memory usage
PSort by CPU usage
TSort by time

Examples

$ htop

Launch the interactive process viewer.

$ htop -u www-data

Show only processes owned by www-data user.

$ htop -t

Start with tree view enabled.

$ htop -s PERCENT_CPU

Sort by CPU percentage.

htoptopprocessmonitorcpumemoryinteractive