sar Summary
This is a summary of options and metrics from the system activity reporter, sar(1). You can use this to jog your memory about which metrics are under which options. See the man page for the full list.
sar(1) is introduced in Chapter 4, Observability Tools, Section 4.4, and selected options are summarized in later chapters (6, 7, 8, 9, 10).
Option |
Metrics |
Description |
---|---|---|
|
|
Per-CPU utilization ( |
|
|
CPU utilization |
|
|
CPU utilization extended |
|
|
Per-CPU frequency |
|
|
CPU run-queue size |
|
|
CPU scheduler events |
|
|
Paging statistics |
|
|
Huge pages |
|
|
Memory utilization |
|
|
Swap utilization |
|
|
Swapping statistics |
|
|
Kernel tables |
|
|
Disk statistics |
|
|
Network interface statistics |
|
|
Network interface errors |
|
|
IP statistics |
|
|
IP errors |
|
|
TCP statistics |
|
|
TCP errors |
|
|
Socket statistics |
I have highlighted in bold the key metrics that I look for.
Some sar(1) options may require kernel features enabled (e.g., huge pages), and some metrics were added in later versions of sar(1) (version 12.0.6 is shown here).