All apps/htop

htop

htop

htop is a cross-platform ncurses-based process viewer.

Runs as htop|macOS, Linux|htop.dev

Command form

ai-draft · 2 tasks · 8 fields

Start htop with a refresh delay, filter, sort column or view. PID and user filters are included; key bindings inside htop are not.

Opens the form; the finished command lands at your prompt, unrun
otty gui htop
Process viewerExample values, fixed in this page — nothing here reaches a terminal
Basic
Refresh delay (tenths of a second)
integer
Filter commands
string
User
string
Advanced
Monochrome
--no-color
TasksEach one presets the form for one job
Tree view
delayfilteruserno_color
One user's processes
usersort_keytree
ParametersOnly these flags are editable in the form
Refresh delay (tenths of a second)
Delay between updates, in tenths of a second.
integer
--delay-d
Filter commands
Show only commands matching this text.
string
--filter-F
Sort column
Sort by this column in list view, e.g. PERCENT_CPU.
string
--sort-key-s
Tree view
Show the tree view.
boolean
--tree-t
User
Show only processes for a given user.
string
--user-u
Monochrome
Use a monochrome color scheme.
boolean
--no-color-C
Disable mouse
Disable the mouse.
boolean
--no-mouse-M
ASCII only
Do not use unicode but plain ASCII.
boolean
--no-unicode-U
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed htop against its version. A form that does not match your version is not offered.