Gregg’s Glimpse: Quick Linux Perf Snapshot is a lightweight shell script that captures a high‑level snapshot of Linux system performance. It follows Brendan Gregg’s methodology to provide a quick glance at the key metrics that are most useful during initial troubleshooting.

The script gathers:

  • CPU usage and load averages
  • Memory consumption, including swap usage
  • Disk I/O statistics such as read/write rates
  • The top processes by CPU and memory

It runs in under a second, outputting the results in a clear, human‑readable format. No heavy dependencies are required – just a POSIX‑compliant shell and the standard set of Linux utilities.

Who it’s for:

  • System administrators who need to diagnose performance bottlenecks quickly.
  • Developers who want a fast way to see what’s driving resource usage before diving deeper.
  • Anyone maintaining production Linux servers who needs a one‑liner diagnostic.

Because it’s a single script, it’s easy to drop into existing workflows, alias it, or integrate it into monitoring dashboards that support custom scripts.

The script is available for download and purchase on Gumroad.

Gregg's Glimpse: Quick Linux Perf Snapshot