System Statistics With sysstat
Sample disk, CPU and memory performance now or from history.
01Command
$ iostat -x 1 502What it does
sysstat provides iostat for disks, sar for historical CPU/memory/network data, mpstat for per-CPU detail and pidstat for processes. When the collector service is enabled, sar can replay yesterday's performance from its binary logs.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Debian package: sysstatEvidence: Debian packages sysstat, which provides sar, iostat, mpstat and related utilities.
- sysstatEvidence: Debian packages sysstat, which provides sar, iostat, mpstat and related utilities.
Last verified: 2026-09-22 · Category: System & Settings
06Related solutions
vmstat gives a compact one-line-per-interval view of CPU usage, swap activity, and I/O waits that top doesn't summarize as clearly.
Use free -h to see used, free, and available memory plus swap in GB/MiB instead of raw kilobytes.
autoremove deletes no-longer-needed dependency packages, and clean wipes the downloaded .deb cache in /var/cache/apt/archives.