Interview Prep/Linux/Performance & the USE Method

top vs htop vs atop: when do you use each?

BeginnerProductionPerformance & the USE Method
Answer
  • top: always installed; press 1 per-CPU, P/M sort by CPU/memory, H threads, c full command.
  • htop: friendlier, tree view (F5), per-core bars, easy filtering and killing.
  • atop: records system and per-process metrics to disk at intervals, including disk and network per process, so you can replay what happened during an incident (atop -r /var/log/atop/atop_20261108).
All Linux questions Roadmap: Linux

More on Performance & the USE Method