htop Command Examples
Display dynamic real-time information about running processes. An enhanced version of
top. More information: https://htop.dev/.
- Start
htop:
htop
- Start
htopdisplaying processes owned by a specific user:
htop {{[-u|--user]}} {{username}}
- Display processes hierarchically in a tree view to show the parent-child relationships:
htop {{[-t|--tree]}}
- Sort processes by a specified
sort_item(usehtop --sort helpfor available options):
htop {{[-s|--sort]}} {{sort_item}}
- Start
htopwith the specified delay between updates, in tenths of a second (i.e. 50 = 5 seconds):
htop {{[-d|--delay]}} {{50}}
- See interactive commands while running htop:
<?>
- Switch to a different tab:
<Tab>
- Display help:
htop {{[-h|--help]}}