htop Cheatsheet

Process monitoring.

Overview

htop is the interactive process monitor that supersedes top: same data, vastly better ergonomics. Five primitives carry most operational use under pressure (interactive tree, sortable columns, filter and search, per-CPU breakdown, accurate memory bar). Fluency turns "the box is slow" into a specific process within seconds rather than the long, awkward dance of ps -ef | grep.

The approach

Sort by the symptom, drill into the process, kill with care. Five keystrokes cover most incident-response use of htop and they are worth committing to muscle memory before the box is on fire.

Why this compounds

Each htop session teaches a little more of the Linux process model. Fluency reduces MTTR on every compute-side incident, and the muscle memory transfers to every box the team logs into. By year two htop is the first window opened during any "is the box ok" investigation.