OS Manuals

/usr/bin/sar

Performance monitoring tools

From sysstat 12.8.0-r0 (os), captured 2026-11-05 by running sar --help (exit 0). permalink

Usage: /usr/bin/sar [ options ] [ <interval> [ <count> ] ]
Main options and reports (report name between square brackets):
	-B	Paging statistics [A_PAGE]
	-b	I/O and transfer rate statistics [A_IO]
	-d	Block devices statistics [A_DISK]
	-F [ MOUNT ]
		Filesystems statistics [A_FS]
	-H	Hugepages utilization statistics [A_HUGE]
	-I [ SUM | ALL ]
		Interrupts statistics [A_IRQ]
	-m { <keyword> [,...] | ALL }
		Power management statistics [A_PWR_...]
		Keywords are:
		BAT	Batteries capacity
		CPU	CPU instantaneous clock frequency
		FAN	Fans speed
		FREQ	CPU average clock frequency
		IN	Voltage inputs
		TEMP	Devices temperature
		USB	USB devices plugged into the system
	-n { <keyword> [,...] | ALL }
		Network statistics [A_NET_...]
		Keywords are:
		DEV	Network interfaces
		EDEV	Network interfaces (errors)
		NFS	NFS client
		NFSD	NFS server
		SOCK	Sockets	(v4)
		IP	IP traffic	(v4)
		EIP	IP traffic	(v4) (errors)
		ICMP	ICMP traffic	(v4)
		EICMP	ICMP traffic	(v4) (errors)
		TCP	TCP traffic	(v4)
		ETCP	TCP traffic	(v4) (errors)
		UDP	UDP traffic	(v4)
		SOCK6	Sockets	(v6)
		IP6	IP traffic	(v6)
		EIP6	IP traffic	(v6) (errors)
		ICMP6	ICMP traffic	(v6)
		EICMP6	ICMP traffic	(v6) (errors)
		UDP6	UDP traffic	(v6)
		FC	Fibre channel HBAs
		SOFT	Software-based network processing
	-q [ <keyword> [,...] | PSI | ALL ]
		System load and pressure-stall statistics
		Keywords are:
		LOAD	Queue length and load average statistics [A_QUEUE]
		CPU	Pressure-stall CPU statistics [A_PSI_CPU]
		IO	Pressure-stall I/O statistics [A_PSI_IO]
		MEM	Pressure-stall memory statistics [A_PSI_MEM]
	-r [ ALL ]
		Memory utilization statistics [A_MEMORY]
	-S	Swap space utilization statistics [A_MEMORY]
	-u [ ALL ]
		CPU utilization statistics [A_CPU]
	-v	Kernel tables statistics [A_KTABLES]
	-W	Swapping statistics [A_SWAP]
	-w	Task creation and system switching statistics [A_PCSW]
	-y	TTY devices statistics [A_SERIAL]
Options (29)
OptionDescriptionSource
-BPaging statistics [A_PAGE]help + man
-bReport I/O and transfer rate statistics.help + man
-dReport activity for each block device.help + man
-HHugepages utilization statistics [A_HUGE]help + man
-SSwap space utilization statistics [A_MEMORY]help + man
-vReport status of inode, file and other kernel tables.help + man
-WSwapping statistics [A_SWAP]help + man
-wTask creation and system switching statistics [A_PCSW]help + man
-yTTY devices statistics [A_SERIAL]help + man
-AThis is equivalent to specifying -bBdFHISvwWy -m ALL -n ALL -q ALL -r ALL -u ALL. (in the manual page but not in --help)man
-CWhen reading data from a file, tell sar to display comments that have been inserted by sadc. (in the manual page but not in --help)man
-DUse saYYYYMMDD instead of saDD as the standard system activity daily data file name. (in the manual page but not in --help)man
--decSpecify the number of decimal places to use (0 to 2, default value is 2). (in the manual page but not in --help)man
--dev dev_listSpecify the block devices for which statistics are to be displayed by sar. (in the manual page but not in --help)man
--fs fs_listSpecify the filesystems for which statistics are to be displayed by sar. (in the manual page but not in --help)man
-hThis option is equivalent to specifying --pretty --human. (in the manual page but not in --help)man
--helpDisplay a short help message then exit. (in the manual page but not in --help)man
--humanPrint sizes in human readable format (e.g. 1.0k, 1.2M, etc.) The units displayed with this option supersede any other default units (e.g. kibibytes, sectors...) associated with the metrics. (in the manual page but not in --help)man
-i intervalSelect data records at seconds as close as possible to the number specified by the interval parameter. (in the manual page but not in --help)man
--iface iface_listSpecify the network interfaces for which statistics are to be displayed by sar. (in the manual page but not in --help)man
--int int_listSpecify the interrupts names for which statistics are to be displayed by sar. (in the manual page but not in --help)man
-jDisplay persistent device names. (in the manual page but not in --help)man
-PReport per-processor statistics for the specified processor or processors. (in the manual page but not in --help)man
-p, --prettyMake reports easier to read by a human. (in the manual page but not in --help)man
--sadcIndicate which data collector is called by sar. (in the manual page but not in --help)man
-tWhen reading data from a daily data file, indicate that sar should display the timestamps in the original local time of the data file creator. (in the manual page but not in --help)man
-VPrint version number then exit. (in the manual page but not in --help)man
-xExtended reports: Display minimum and maximum values in addition to average ones at the end of the report. (in the manual page but not in --help)man
-zTell sar to omit output for any devices for which there was no activity during the sample period. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.