Useful watch mode for busy hosts.

Section: Search, filter, and tree workflows

Start filtered and sorted by CPU

bash
bash
htop --sort-key=PERCENT_CPU -d 10
Explanation

Refreshes about every second and surfaces CPU-heavy tasks near the top.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Search, filter, and tree workflows
Search command lines
Find matching processes incrementally.
OpenIn sheettextsame section
Filter process list
Show only processes whose command lines match fixed-string terms.
OpenIn sheettextsame section
Toggle tree view
Switch between hierarchical and sorted-list views.
OpenIn sheettextsame section
Expand or collapse a subtree
Control how much of the tree is visible.
OpenIn sheettextsame section
Watch one user's processes in tree view
Combine user filter and hierarchy view.
OpenIn sheetbashsame section
Open sort menu
Select the active sort column interactively.
OpenIn sheettext1 tag match