Skip to content
Shellbay

Tools & Utilities · about 2 min · 4 steps

sysstat performance history

Installs sysstat (sar, iostat, mpstat) and turns on collection, so you can look back at CPU, memory and disk use over time.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported
  • Alpine: supported

What it changes on your server

  • Installs the sysstat package.
  • Turns on its collection: every 10 minutes with systemd timers (and ENABLED="true" in /etc/default/sysstat on Debian and Ubuntu), or every 15 minutes from /etc/periodic on Alpine.
  • History is kept in /var/log/sysstat or /var/log/sa and trimmed automatically.

What Shellbay asks you

Nothing. This workflow needs no details from you.

Steps

  1. Refresh the package list
  2. Install packages
  3. Turn on collection
  4. Check it works

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • sysstat is collecting. Run sar for today's CPU use, sar -r for memory or iostat for disks.