Intermediate By Samson Tanimawo, PhD Published Sep 17, 2026 5 min read

Linux Perf Cheat Sheet

Brendan Gregg's USE method, condensed into the commands you actually run when a Linux box is misbehaving.

First-minute scan

Brendan Gregg's classic 60-second checklist. Run these in order and you'll have a working hypothesis before you finish typing the last one.

CPU

Which core, which process, which kind of work, user, system, IO wait, steal.

Memory

The free output confuses everyone once. Page cache is not "used" in any meaningful sense.

Disk IO

%util at 100% doesn't mean "saturated" on SSDs, it means "had at least one request in flight at every sample." Look at await and queue depth.

Network

Replace netstat with ss. It's faster, the flags are saner, and it's installed everywhere modern.

Per-process

When you've narrowed to one PID, these are the deep-dive tools.

Deeper tools

When the basics don't answer, eBPF tools usually do.