htop Keyboard Shortcuts

Complete htop keyboard shortcuts reference — 71 shortcuts across 2 categories. Quick reference cheat sheet for Linux, macOS & BSD.

htop is top with a usable interface, and almost everything you do in it is a single key while it is running; the command-line options only shape what it shows at startup. The function-key row at the bottom of the screen is the built-in cheat sheet, and every F-key has a letter alias for keyboards and terminals that swallow function keys.

Command-line Options (16)

ShortcutAction
htop -d --delay=DELAYDelay between updates, in tenths of a second
htop -C --no-color --no-colourStart htop in monochrome mode
htop -F --filter=FILTERFilter processes by terms matching the commands
htop --no-function-barHide the function bar
htop -h --helpDisplay a help message and exit
htop -p --pid=PIDShow only the given PIDs
htop -s --sort-key COLUMNSort by this column (use --sort-key help for a column list)
htop -u --user[=USERNAME|UID]Show only the processes of a given user, or self if omitted
htop -U --no-unicodeDo not use unicode but ASCII characters for graph meters
htop -M --no-mouseDisable support of mouse control
htop --no-metersHide graph meters
htop --readonlyDisable all system and process changing features
htop -V --versionOutput version information and exit
htop -t --tree[=MODE]Show processes in tree view
htop -H --highlight-changes=DELAYHighlight new and old processes
htop --drop-capabilities[=off|basic|strict]Linux only; this option needs to have been enabled at compile-time and requires libcap sup

Interactive Commands (55)

ShortcutAction
TabSelect the next / the previous screen tab to display
Shift + TabSelect the next / the previous screen tab to display
UpSelect (highlight) the previous process in the process list
Alt + kSelect (highlight) the previous process in the process list
DownSelect (highlight) the next process in the process list
Alt + jSelect (highlight) the next process in the process list
LeftScroll the process list left
Alt + hScroll the process list left
RightScroll the process list right
Alt + lScroll the process list right
PgUpScroll the process list up or down one window
PgDnScroll the process list up or down one window
Ctrl + AScroll left to the beginning of the process entry (i.e
^Scroll left to the beginning of the process entry (i.e
Ctrl + EScroll right to the end of the process entry (i.e
$Scroll right to the end of the process entry (i.e
Shift + UpPan the process list view up
Alt + UpPan the process list view up
Shift + DownPan the process list view down
Alt + DownPan the process list view down
SpaceTag or untag a process
F1Go to the help screen
hGo to the help screen
?Go to the help screen
F2Go to the setup screen, where you can configure the meters displayed at the top of the scr
SGo to the setup screen, where you can configure the meters displayed at the top of the scr
F3Incrementally search the command lines of all the displayed processes
/Incrementally search the command lines of all the displayed processes
F4Incremental process filtering: type in part of a process command line and only processes w
\Incremental process filtering: type in part of a process command line and only processes w
F5Tree view: organize processes by parenthood, and layout the relations between them as a tr
tTree view: organize processes by parenthood, and layout the relations between them as a tr
F6Selects a field for sorting, also accessible through < and >
<Selects a field for sorting, also accessible through < and >
>Selects a field for sorting, also accessible through < and >
F7Increase the selected process's priority (subtract from 'nice' value)
]Increase the selected process's priority (subtract from 'nice' value)
F8Decrease the selected process's priority (add to 'nice' value)
[Decrease the selected process's priority (add to 'nice' value)
Shift + F7Increase the selected process's autogroup priority (subtract from autogroup 'nice' value)
}Increase the selected process's autogroup priority (subtract from autogroup 'nice' value)
Shift + F8Decrease the selected process's autogroup priority (add to autogroup 'nice' value)
{Decrease the selected process's autogroup priority (add to autogroup 'nice' value)
F9"Kill" process: sends a signal which is selected in a menu, to one or a group of processes
k"Kill" process: sends a signal which is selected in a menu, to one or a group of processes
F10Quit
qQuit
switch todecreasing, and vice-versa
+When in tree view mode, expand or collapse subtree
-When in tree view mode, expand or collapse subtree
*When in tree view mode, expand or collapse subtree
mMerge exe, comm and cmdline, where applicable
Ctrl + LRefresh: redraw screen and recalculate values
NumbersPID search: type in process ID and the selection highlight will be moved to it
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Related Shortcut Pages

ss / netstat tmux Bash / Shell Vim GNU Screen Lazygit

Search 18,500+ shortcuts across 268 platforms

Explore All Platforms Practice Shortcuts
📜 Every shortcut on this page is taken from the official htop documentation — man7.org
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

Finding the process

F3 (or /) searches command lines incrementally and highlights the first match; F4 (or \) filters so only matching processes stay on screen, which is the one to use when a service has dozens of workers. F6 (or < / >) picks the sort column, and F5 (or t) switches to tree view so children sit under their parent.

Acting on it

Space tags a process, and after tagging several, F9 (or k) sends a signal to all of them at once — SIGTERM is the default, SIGKILL is further down the list. F7 and F8 nice a process down or up (only root can raise priority). F10 or q quits. Letter keys such as l (lsof), s (strace) and e (environment) exist in the full manual but are not in this table; the help screen on F1 or h lists everything the installed build supports.

Starting it the way you want

htop -t --tree[=MODE] starts in tree view, htop -u --user[=USERNAME|UID] shows one user, and htop -p --pid=PID watches specific PIDs. htop -d --delay=DELAY sets the refresh in tenths of a second. On a server that should not be touched, htop --readonly disables every kill, nice and signal feature. htop -F --filter=FILTER starts with a filter already applied. Layout and colours are set once with F2 and saved to ~/.config/htop/htoprc.

Frequently asked questions

How do I kill a process in htop?

Highlight it (or tag several with Space), press F9 or k, choose the signal and press Enter. SIGTERM is selected by default.

Why do the function keys not work in my terminal?

Some terminals and multiplexers intercept them. Every F-key has an alias: / for search, \ for filter, t for tree, k for kill, h for help.

How do I show only one user's processes?

Start with htop -u username, or press u inside htop (see the F1 help screen for your build).

How do I make htop safe to hand to someone?

Start it with --readonly. Kill, nice and signal features are disabled for that session.

🤖 Ask AI about htop shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok