- ? Common formats for SAR commands ?
SAR [Options] [-A] [-o file] t [n]
among them: T is the sampling interval, n is the number of samples, the default value is 1;
-o file means that the command result is stored in a binary format in a file, and file is a filename.
Options is a command-line option, and the SAR command is commonly used as follows:
-A: Sum of all reports
-U: Output statistics about CPU usage
-V: Output statistics for inode, files, and other kernel tables
-D: Output activity information for each block device
-r: Output memory and swap space statistics
-B: Display statistics for I/O and transfer rates
-A: File read and write status
-C: Output process statistics, number of processes created per second
-r: Output memory page statistics
-Y: terminal equipment activity situation
-W: Output system Exchange activity information
Powerful System monitoring SAR command