Archive › 2007 › August
System Activity Reporter Command Monitors CPU, Disk and Virtual Memory
August 27, 2007 · Shell & text · Files & disks · System & processes
📜 From the MySysAd archive. Written in 2007, mostly on Solaris. Most of these commands still work on Linux and macOS, though options and file locations can differ.
⚠️ Things may be different now. Check commands, options and file paths against your system's documentation before using them on a live system.
The system activity reporter or sar command is useful in reporting system resource utilization. It can report on CPU, disk, and virtual memory use. Here are some examples. Three samples for every 5 seconds For CPU utilization # sar 5 3 For disk utilization # sar -d 5 3 For virtual memory utilization #sar -g 5 3