1 .\" sar manual page - (C) 1999-2022 Sebastien Godard (sysstat <at> orange.fr)
2 .TH SAR 1 "AUGUST 2022" Linux "Linux User's Manual" -*- nroff -*-
4 sar \- Collect, report, or save system activity information.
7 .B sar [ -A ] [ -B ] [ -b ] [ -C ] [ -D ] [ -d ] [ -F [ MOUNT ] ] [ -H ] [ -h ] [ -p ]
8 .B [ -r [ ALL ] ] [ -S ] [ -t ] [ -u [ ALL ] ] [ -V ] [ -v ] [ -W ] [ -w ] [ -y ] [ -z ]
9 .B [ --dec={ 0 | 1 | 2 } ]
10 .BI "[ --dev=" "dev_list " "] [ --fs=" "fs_list " "] [ --help ] [ --human ] [ --iface=" "iface_list"
11 .BI "] [ --int=" "int_list " "] [ --pretty ] [ --sadc ] [ -I [ SUM | ALL ] ] [ -P { " "cpu_list"
13 .IB "keyword" "[,...] | ALL } ] [ -n { " "keyword" "[,...] | ALL } ] [ -q [ " "keyword" "[,...] | ALL ] ]"
14 .B [ -j { SID | ID | LABEL | PATH | UUID | ... } ]
15 .BI "[ -f [ " "filename " "] | -o [ " "filename " "] | -[0-9]+ ]"
16 .BI "[ -i " "interval " "] [ -s [ " "hh" ":" "mm" "[:" "ss" "]"
17 .BI "] ] [ -e [ " "hh" ":" "mm" "[:" "ss" "] ] ] [ " "interval " "[ " "count " "] ]"
21 command writes to standard output the contents of selected
22 cumulative activity counters in the operating system. The accounting
23 system, based on the values in the
24 .IR "count " "and " "interval"
25 parameters, writes information the specified number of times spaced
26 at the specified intervals in seconds.
28 .IR "interval " "parameter is set to zero, the"
30 command displays the average statistics for the time
31 since the system was started. If the
32 .IR "interval " "parameter is specified without the " "count"
33 parameter, then reports are generated continuously.
34 The collected data can also
35 be saved in the file specified by the
37 flag, in addition to being displayed onto the screen. If
38 .IR "filename " "is omitted,"
40 uses the standard system activity daily data file (see below).
41 By default all the data available from the kernel are saved in the
45 command extracts and writes to standard output records previously
46 saved in a file. This file can be either the one specified by the
48 flag or, by default, the standard system activity daily data file.
49 It is also possible to enter
50 .BR "-1" ", " "-2 " "etc. as an argument to " "sar"
51 to display data of that days ago. For example,
52 .BR "-1 " "will point at the standard system activity file of yesterday."
54 Standard system activity daily data files are named
55 .IR "saDD " "or " "saYYYYMMDD" ", where"
56 .IR "YYYY " "stands for the current year, " "MM " "for the current month and " "DD"
57 for the current day. They are the default files used by
59 only when no filename has been explicitly specified.
60 When used to write data to files (with its option
65 has also been specified, else it will use
67 When used to display the records previously saved in a file,
69 will look for the most recent of
70 .IR "saDD " "and " "saYYYYMMDD" ", and use it."
72 Standard system activity daily data files are located in the
74 directory by default. Yet it is possible to specify an alternate
75 location for them: If a directory (instead of a plain file) is used
78 then it will be considered as the directory containing the data files.
80 .RB "Without the " "-P " "flag, the " "sar"
81 command reports system-wide (global among all processors) statistics,
82 which are calculated as averages for values expressed as percentages,
83 and as sums otherwise. If the
84 .BR "-P " "flag is given, the " "sar"
85 command reports activity which relates to the specified processor or
87 .BR "-P ALL " "is given, the " "sar"
88 command reports statistics for each individual processor and global
89 statistics among all processors. Offline processors are not displayed.
91 You can select information about specific system activities using
92 flags. Not specifying any flags selects only CPU activity.
95 flag selects all possible activities.
97 The default version of the
99 command (CPU utilization report) might be one of the first facilities
100 the user runs to begin system activity investigation, because it
101 monitors major system resources. If CPU utilization is near 100 percent
102 (user + nice + system), the workload sampled is CPU-bound.
104 If multiple samples and multiple reports are desired, it is convenient
105 to specify an output file for the
106 .BR "sar " "command. Run the " "sar"
107 command as a background process. The syntax for this is:
109 .BI "sar -o " "datafile interval count " ">/dev/null 2>&1 &"
111 All data are captured in binary form and saved to a file
112 .RI "(" "datafile" ")."
113 The data can then be selectively displayed with the
114 .BR "sar " "command using the " "-f " "option. Set the"
115 .IR "interval " "and " "count " "parameters to select " "count " "records at " "interval"
116 .RI "second intervals. If the " "count"
117 parameter is not set, all the records saved in the file will be selected.
118 Collection of data in this manner is useful to characterize
119 system usage over a period of time and determine peak usage hours.
121 .RB "Note: The " "sar"
122 command only reports on local activities.
127 This is equivalent to specifying
128 .BR "-bBdFHISvwWy -m ALL -n ALL -q ALL -r ALL -u ALL" "."
129 This option also implies specifying
131 unless these options are explicitly set on the command line.
134 Report paging statistics.
135 The following values are displayed:
138 Total number of kilobytes the system paged in from disk per second.
140 Total number of kilobytes the system paged out to disk per second.
142 Number of page faults (major + minor) made by the system per second.
143 This is not a count of page faults that generate I/O, because some page
144 faults can be resolved without I/O.
146 Number of major faults the system has made per second, those which
147 have required loading a memory page from disk.
149 Number of pages placed on the free list by the system per second.
151 Number of pages scanned by the kswapd daemon per second.
153 Number of pages scanned directly per second.
155 Number of pages the system has reclaimed from cache (pagecache and
156 swapcache) per second to satisfy its memory demands.
158 Calculated as pgsteal / pgscan, this is a metric of the efficiency of
159 page reclaim. If it is near 100% then almost every page coming off the
160 tail of the inactive list is being reaped. If it gets too low (e.g. less
161 than 30%) then the virtual memory is having some difficulty.
162 This field is displayed as zero if no pages have been scanned during the
167 Report I/O and transfer rate statistics. The following values are displayed:
170 Total number of transfers per second that were issued to physical devices.
171 A transfer is an I/O request to a physical device. Multiple logical
172 requests can be combined into a single I/O request to the device.
173 A transfer is of indeterminate size.
175 Total number of read requests per second issued to physical devices.
177 Total number of write requests per second issued to physical devices.
179 Total number of discard requests per second issued to physical devices.
181 Total amount of data read from the devices in blocks per second.
182 Blocks are equivalent to sectors and therefore have a size of 512 bytes.
184 Total amount of data written to devices in blocks per second.
186 Total amount of data discarded for devices in blocks per second.
190 When reading data from a file, tell
191 .BR "sar " "to display comments that have been inserted by " "sadc" "."
194 .RI "Use " "saYYYYMMDD " "instead of " "saDD"
195 as the standard system activity daily data file name. This option
196 works only when used in conjunction with option
197 .BR "-o " "to save data to file."
200 Report activity for each block device.
201 When data are displayed, the device name is displayed as it
204 .BR "sar " "uses data in"
205 .IR "/sys " "to determine the device name based on its major and minor numbers."
206 .RB "If this name resolution fails, " "sar " "will use name mapping controlled by"
207 .IR "@SYSCONFIG_DIR@/sysstat.ioconf " "file."
208 Persistent device names can also be printed if option
210 is used (see below). Statistics for all devices are displayed unless
211 a restricted list is specified using option
213 (see corresponding option entry).
214 Note that disk activity depends on
215 .BR "sadc" "'s options " "-S DISK " "and " "-S XDISK"
216 to be collected. The following values are displayed:
219 Total number of transfers per second that were issued to physical devices.
220 A transfer is an I/O request to a physical device. Multiple logical
221 requests can be combined into a single I/O request to the device.
222 A transfer is of indeterminate size.
224 Number of kilobytes read from the device per second.
226 Number of kilobytes written to the device per second.
228 Number of kilobytes discarded for the device per second.
230 The average size (in kilobytes) of the I/O requests that were issued to the device.
232 Note: In previous versions, this field was known as avgrq-sz and was expressed in sectors.
234 The average queue length of the requests that were issued to the device.
236 Note: In previous versions, this field was known as avgqu-sz.
238 The average time (in milliseconds) for I/O requests issued to the device
239 to be served. This includes the time spent by the requests in queue and
240 the time spent servicing them.
242 Percentage of elapsed time during which I/O requests were issued to the device
243 (bandwidth utilization for the device). Device saturation occurs when this
244 value is close to 100% for devices serving requests serially. But for
245 devices serving requests in parallel, such as RAID arrays and modern SSDs,
246 this number does not reflect their performance limits.
249 .B --dec={ 0 | 1 | 2 }
250 Specify the number of decimal places to use (0 to 2, default value is 2).
252 .BI "--dev=" "dev_list"
253 Specify the block devices for which statistics are to be displayed by
255 .IR "dev_list " "is a list of comma-separated device names."
257 .BI "-e [ " "hh" ":" "mm" "[:" "ss" "] ]"
258 Set the ending time of the report. The default ending time is
259 18:00:00. Hours must be given in 24-hour format.
260 This option can be used when data are read from
261 or written to a file (options
262 .BR "-f " "or " "-o" ")."
265 Display statistics for currently mounted filesystems. Pseudo-filesystems are
266 ignored. At the end of the report,
268 will display a summary of all those filesystems. Use of the
270 parameter keyword indicates that mountpoint will be reported instead of
271 filesystem device. Statistics for all filesystems are displayed unless
272 a restricted list is specified using option
274 (see corresponding option entry).
275 Note that filesystems statistics depend on
276 .BR "sadc" "'s option " "-S XDISK "
279 The following values are displayed:
282 Total amount of free space in megabytes (including space available only to privileged user).
284 Total amount of space used in megabytes.
286 Percentage of filesystem space used, as seen by a privileged user.
288 Percentage of filesystem space used, as seen by an unprivileged user.
290 Total number of free file nodes in filesystem.
292 Total number of file nodes used in filesystem.
294 Percentage of file nodes used in filesystem.
297 .BI "-f [ " "filename " "]"
298 .RI "Extract records from " "filename " "(created by the"
300 flag). The default value of the
302 parameter is the current standard system activity daily data file. If
304 is a directory instead of a plain file then it is considered as the
305 directory where the standard system activity daily data files are
307 .BR "-f " "is exclusive of option " "-o" "."
309 .BI "--fs=" "fs_list"
310 Specify the filesystems for which statistics are to be displayed by
313 is a list of comma-separated filesystem names or mountpoints.
316 Report hugepages utilization statistics.
317 The following values are displayed:
320 Amount of hugepages memory in kilobytes that is not yet allocated.
322 Amount of hugepages memory in kilobytes that has been allocated.
324 Percentage of total hugepages memory that has been allocated.
326 Amount of reserved hugepages memory in kilobytes.
328 Amount of surplus hugepages memory in kilobytes.
332 This option is equivalent to specifying
333 .BR "--pretty --human" "."
336 Display a short help message then exit.
339 Print sizes in human readable format (e.g. 1.0k, 1.2M, etc.)
340 The units displayed with this option supersede any other default units (e.g.
341 kilobytes, sectors...) associated with the metrics.
343 .BI "-I [ SUM | ALL ]"
344 Report statistics for interrupts. The values displayed are the number of interrupts
345 per second for the given processor or among all processors.
346 A list of interrupts can be specified using
348 (see this option). The
350 keyword indicates that the total number of interrupts received per second
351 is to be displayed. The
353 keyword indicates that statistics from all interrupts are to be reported
354 (this is the default).
355 Note that interrupts statistics depend on
356 .BR "sadc" "'s option " "-S INT"
360 Select data records at seconds as close as possible to the number specified
361 .RI "by the " "interval " "parameter."
363 .BI "--iface=" "iface_list"
364 Specify the network interfaces for which statistics are to be displayed by
367 is a list of comma-separated interface names.
369 .BI "--int=" "int_list"
370 Specify the interrupts names for which statistics are to be displayed by
373 is a list of comma-separated values or range of values (e.g.,
374 .BR "0-16,35,40-" ").
376 .B -j { SID | ID | LABEL | PATH | UUID | ... }
377 Display persistent device names. Use this option in conjunction with option
378 .BR "-d" ". Keywords " "ID" ", " "LABEL" ","
379 etc. specify the type of the persistent name. These keywords are not limited,
380 only prerequisite is that directory with required persistent names is present in
383 tries to get a stable identifier to use as the device name. A stable
384 identifier won't change across reboots for the same physical device. If it exists,
385 this identifier is normally the WWN (World Wide Name) of the device, as read from the
386 .IR "/dev/disk/by-id " "directory."
388 .BI "-m { " "keyword" "[,...] | ALL }"
389 Report power management statistics.
390 Note that these statistics depend on
391 .BR "sadc" "'s option " "-S POWER " "to be collected."
393 Possible keywords are
394 .BR "CPU" ", " "FAN" ", " "FREQ" ", " "IN" ", " "TEMP " "and " "USB" "."
396 .RB "With the " "CPU"
397 keyword, statistics about CPU are reported.
398 The following value is displayed:
401 Instantaneous CPU clock frequency in MHz.
405 .RB "With the " "FAN"
406 keyword, statistics about fans speed are reported.
407 The following values are displayed:
410 Fan speed expressed in revolutions per minute.
412 This field is calculated as the difference between current fan speed (rpm)
413 and its low limit (fan_min).
419 .RB "With the " "FREQ"
420 keyword, statistics about CPU clock frequency are reported.
421 The following value is displayed:
424 Weighted average CPU clock frequency in MHz.
425 Note that the cpufreq-stats driver must be compiled in the
426 kernel for this option to work.
431 keyword, statistics about voltage inputs are reported.
432 The following values are displayed:
435 Voltage input expressed in Volts.
437 Relative input value. A value of 100% means that
438 voltage input has reached its high limit (in_max) whereas
439 a value of 0% means that it has reached its low limit (in_min).
445 .RB "With the " "TEMP"
446 keyword, statistics about devices temperature are reported.
447 The following values are displayed:
450 Device temperature expressed in degrees Celsius.
452 Relative device temperature. A value of 100% means that
453 temperature has reached its high limit (temp_max).
459 .RB "With the " "USB " "keyword, the " "sar"
460 command takes a snapshot of all the USB devices currently plugged into
461 the system. At the end of the report,
463 will display a summary of all those USB devices.
464 The following values are displayed:
467 Root hub number of the USB device.
469 Vendor ID number (assigned by USB organization).
471 Product ID number (assigned by Manufacturer).
473 Maximum power consumption of the device (expressed in mA).
482 keyword is equivalent to specifying all the keywords above and therefore all the power
483 management statistics are reported.
485 .BI "-n { " "keyword" "[,...] | ALL }"
486 Report network statistics.
488 Possible keywords are
489 .BR "DEV" ", " "EDEV" ", " "FC" ", " "ICMP" ", " "EICMP" ", " "ICMP6" ", " "EICMP6" ","
490 .BR "IP" ", " "EIP" ", " "IP6" ", " "EIP6" ", " "NFS" ", " "NFSD" ", " "SOCK" ", " "SOCK6" ","
491 .BR "SOFT" ", " "TCP" ", " "ETCP" ", " "UDP " "and " "UDP6" "."
493 .RB "With the " "DEV"
494 keyword, statistics from the network devices are reported.
495 Statistics for all network interfaces are displayed unless
496 a restricted list is specified using option
498 (see corresponding option entry).
499 The following values are displayed:
502 Name of the network interface for which statistics are reported.
504 Total number of packets received per second.
506 Total number of packets transmitted per second.
508 Total number of kilobytes received per second.
510 Total number of kilobytes transmitted per second.
512 Number of compressed packets received per second (for cslip etc.).
514 Number of compressed packets transmitted per second.
516 Number of multicast packets received per second.
518 Utilization percentage of the network interface. For half-duplex interfaces,
519 utilization is calculated using the sum of rxkB/s and txkB/s as a percentage
520 of the interface speed. For full-duplex, this is the greater of rxkB/S or txkB/s.
524 .RB "With the " "EDEV"
525 keyword, statistics on failures (errors) from the network devices are reported.
526 Statistics for all network interfaces are displayed unless
527 a restricted list is specified using option
529 (see corresponding option entry).
530 The following values are displayed:
533 Name of the network interface for which statistics are reported.
535 Total number of bad packets received per second.
537 Total number of errors that happened per second while transmitting packets.
539 Number of collisions that happened per second while transmitting packets.
541 Number of received packets dropped per second because of a lack of space in linux buffers.
543 Number of transmitted packets dropped per second because of a lack of space in linux buffers.
545 Number of carrier-errors that happened per second while transmitting packets.
547 Number of frame alignment errors that happened per second on received packets.
549 Number of FIFO overrun errors that happened per second on received packets.
551 Number of FIFO overrun errors that happened per second on transmitted packets.
556 keyword, statistics about fibre channel traffic are reported.
557 Note that fibre channel statistics depend on
558 .BR "sadc" "'s option " "-S DISK"
560 The following values are displayed:
563 Name of the fibre channel host bus adapter (HBA) interface for which statistics are reported.
565 The total number of frames received per second.
567 The total number of frames transmitted per second.
569 The total number of transmission words received per second.
571 The total number of transmission words transmitted per second.
575 .RB "With the " "ICMP"
576 keyword, statistics about ICMPv4 network traffic are reported.
577 Note that ICMPv4 statistics depend on
578 .BR "sadc" "'s option " "-S SNMP"
580 The following values are displayed (formal SNMP names between
584 The total number of ICMP messages which the entity
585 received per second [icmpInMsgs].
586 Note that this counter includes all those counted by ierr/s.
588 The total number of ICMP messages which this entity
589 attempted to send per second [icmpOutMsgs].
590 Note that this counter includes all those counted by oerr/s.
592 The number of ICMP Echo (request) messages received per second [icmpInEchos].
594 The number of ICMP Echo Reply messages received per second [icmpInEchoReps].
596 The number of ICMP Echo (request) messages sent per second [icmpOutEchos].
598 The number of ICMP Echo Reply messages sent per second [icmpOutEchoReps].
600 The number of ICMP Timestamp (request) messages received per second [icmpInTimestamps].
602 The number of ICMP Timestamp Reply messages received per second [icmpInTimestampReps].
604 The number of ICMP Timestamp (request) messages sent per second [icmpOutTimestamps].
606 The number of ICMP Timestamp Reply messages sent per second [icmpOutTimestampReps].
608 The number of ICMP Address Mask Request messages received per second [icmpInAddrMasks].
610 The number of ICMP Address Mask Reply messages received per second [icmpInAddrMaskReps].
612 The number of ICMP Address Mask Request messages sent per second [icmpOutAddrMasks].
614 The number of ICMP Address Mask Reply messages sent per second [icmpOutAddrMaskReps].
618 .RB "With the " "EICMP"
619 keyword, statistics about ICMPv4 error messages are reported.
620 Note that ICMPv4 statistics depend on
621 .BR "sadc" "'s option " "-S SNMP"
623 The following values are displayed (formal SNMP names between
627 The number of ICMP messages per second which the entity received but
628 determined as having ICMP-specific errors (bad ICMP
629 checksums, bad length, etc.) [icmpInErrors].
631 The number of ICMP messages per second which this entity did not send
632 due to problems discovered within ICMP such as a lack of buffers [icmpOutErrors].
634 The number of ICMP Destination Unreachable messages
635 received per second [icmpInDestUnreachs].
637 The number of ICMP Destination Unreachable messages sent per second [icmpOutDestUnreachs].
639 The number of ICMP Time Exceeded messages received per second [icmpInTimeExcds].
641 The number of ICMP Time Exceeded messages sent per second [icmpOutTimeExcds].
643 The number of ICMP Parameter Problem messages received per second [icmpInParmProbs].
645 The number of ICMP Parameter Problem messages sent per second [icmpOutParmProbs].
647 The number of ICMP Source Quench messages received per second [icmpInSrcQuenchs].
649 The number of ICMP Source Quench messages sent per second [icmpOutSrcQuenchs].
651 The number of ICMP Redirect messages received per second [icmpInRedirects].
653 The number of ICMP Redirect messages sent per second [icmpOutRedirects].
657 .RB "With the " "ICMP6"
658 keyword, statistics about ICMPv6 network traffic are reported.
659 Note that ICMPv6 statistics depend on
660 .BR "sadc" "'s option " "-S IPV6"
662 The following values are displayed (formal SNMP names between
666 The total number of ICMP messages received
667 by the interface per second which includes all those
668 counted by ierr6/s [ipv6IfIcmpInMsgs].
670 The total number of ICMP messages which this
671 interface attempted to send per second [ipv6IfIcmpOutMsgs].
673 The number of ICMP Echo (request) messages
674 received by the interface per second [ipv6IfIcmpInEchos].
676 The number of ICMP Echo Reply messages received
677 by the interface per second [ipv6IfIcmpInEchoReplies].
679 The number of ICMP Echo Reply messages sent
680 by the interface per second [ipv6IfIcmpOutEchoReplies].
682 The number of ICMPv6 Group Membership Query
683 messages received by the interface per second
684 [ipv6IfIcmpInGroupMembQueries].
686 The number of ICMPv6 Group Membership Response messages
687 received by the interface per second
688 [ipv6IfIcmpInGroupMembResponses].
690 The number of ICMPv6 Group Membership Response
691 messages sent per second
692 [ipv6IfIcmpOutGroupMembResponses].
694 The number of ICMPv6 Group Membership Reduction messages
695 received by the interface per second
696 [ipv6IfIcmpInGroupMembReductions].
698 The number of ICMPv6 Group Membership Reduction
699 messages sent per second
700 [ipv6IfIcmpOutGroupMembReductions].
702 The number of ICMP Router Solicit messages
703 received by the interface per second
704 [ipv6IfIcmpInRouterSolicits].
706 The number of ICMP Router Solicitation messages
707 sent by the interface per second
708 [ipv6IfIcmpOutRouterSolicits].
710 The number of ICMP Router Advertisement messages
711 received by the interface per second
712 [ipv6IfIcmpInRouterAdvertisements].
714 The number of ICMP Neighbor Solicit messages
715 received by the interface per second
716 [ipv6IfIcmpInNeighborSolicits].
718 The number of ICMP Neighbor Solicitation
719 messages sent by the interface per second
720 [ipv6IfIcmpOutNeighborSolicits].
722 The number of ICMP Neighbor Advertisement
723 messages received by the interface per second
724 [ipv6IfIcmpInNeighborAdvertisements].
726 The number of ICMP Neighbor Advertisement
727 messages sent by the interface per second
728 [ipv6IfIcmpOutNeighborAdvertisements].
732 .RB "With the " "EICMP6"
733 keyword, statistics about ICMPv6 error messages are reported.
734 Note that ICMPv6 statistics depend on
735 .BR "sadc" "'s option " "-S IPV6"
737 The following values are displayed (formal SNMP names between
741 The number of ICMP messages per second which the interface
742 received but determined as having ICMP-specific
743 errors (bad ICMP checksums, bad length, etc.)
746 The number of ICMP Destination Unreachable
747 messages received by the interface per second
748 [ipv6IfIcmpInDestUnreachs].
750 The number of ICMP Destination Unreachable
751 messages sent by the interface per second
752 [ipv6IfIcmpOutDestUnreachs].
754 The number of ICMP Time Exceeded messages
755 received by the interface per second
756 [ipv6IfIcmpInTimeExcds].
758 The number of ICMP Time Exceeded messages sent
759 by the interface per second
760 [ipv6IfIcmpOutTimeExcds].
762 The number of ICMP Parameter Problem messages
763 received by the interface per second
764 [ipv6IfIcmpInParmProblems].
766 The number of ICMP Parameter Problem messages
767 sent by the interface per second
768 [ipv6IfIcmpOutParmProblems].
770 The number of Redirect messages received
771 by the interface per second
772 [ipv6IfIcmpInRedirects].
774 The number of Redirect messages sent by
775 the interface by second
776 [ipv6IfIcmpOutRedirects].
778 The number of ICMP Packet Too Big messages
779 received by the interface per second
780 [ipv6IfIcmpInPktTooBigs].
782 The number of ICMP Packet Too Big messages sent
783 by the interface per second
784 [ipv6IfIcmpOutPktTooBigs].
789 keyword, statistics about IPv4 network traffic are reported.
790 Note that IPv4 statistics depend on
791 .BR "sadc" "'s option " "-S SNMP"
793 The following values are displayed (formal SNMP names between
797 The total number of input datagrams received from interfaces
798 per second, including those received in error [ipInReceives].
800 The number of input datagrams per second, for which this entity was not
801 their final IP destination, as a result of which an attempt
802 was made to find a route to forward them to that final
803 destination [ipForwDatagrams].
805 The total number of input datagrams successfully delivered per second
806 to IP user-protocols (including ICMP) [ipInDelivers].
808 The total number of IP datagrams which local IP user-protocols (including ICMP)
809 supplied per second to IP in requests for transmission [ipOutRequests].
810 Note that this counter does not include any datagrams counted in fwddgm/s.
812 The number of IP fragments received per second which needed to be
813 reassembled at this entity [ipReasmReqds].
815 The number of IP datagrams successfully re-assembled per second [ipReasmOKs].
817 The number of IP datagrams that have been successfully
818 fragmented at this entity per second [ipFragOKs].
820 The number of IP datagram fragments that have been
821 generated per second as a result of fragmentation at this entity [ipFragCreates].
825 .RB "With the " "EIP"
826 keyword, statistics about IPv4 network errors are reported.
827 Note that IPv4 statistics depend on
828 .BR "sadc" "'s option " "-S SNMP"
830 The following values are displayed (formal SNMP names between
834 The number of input datagrams discarded per second due to errors in
835 their IP headers, including bad checksums, version number
836 mismatch, other format errors, time-to-live exceeded, errors
837 discovered in processing their IP options, etc. [ipInHdrErrors]
839 The number of input datagrams discarded per second because the IP
840 address in their IP header's destination field was not a
841 valid address to be received at this entity. This count
842 includes invalid addresses (e.g., 0.0.0.0) and addresses of
843 unsupported Classes (e.g., Class E). For entities which are
844 not IP routers and therefore do not forward datagrams, this
845 counter includes datagrams discarded because the destination
846 address was not a local address [ipInAddrErrors].
848 The number of locally-addressed datagrams received
849 successfully but discarded per second because of an unknown or
850 unsupported protocol [ipInUnknownProtos].
852 The number of input IP datagrams per second for which no problems were
853 encountered to prevent their continued processing, but which
854 were discarded (e.g., for lack of buffer space) [ipInDiscards].
855 Note that this counter does not include any datagrams discarded while
856 awaiting re-assembly.
858 The number of output IP datagrams per second for which no problem was
859 encountered to prevent their transmission to their
860 destination, but which were discarded (e.g., for lack of
861 buffer space) [ipOutDiscards].
862 Note that this counter would include
863 datagrams counted in fwddgm/s if any such packets met
864 this (discretionary) discard criterion.
866 The number of IP datagrams discarded per second because no route could
867 be found to transmit them to their destination [ipOutNoRoutes].
868 Note that this counter includes any packets counted in fwddgm/s
869 which meet this 'no-route' criterion.
870 Note that this includes any datagrams which a host cannot route because all
871 of its default routers are down.
873 The number of failures detected per second by the IP re-assembly
874 algorithm (for whatever reason: timed out, errors, etc) [ipReasmFails].
875 Note that this is not necessarily a count of discarded IP
876 fragments since some algorithms can lose track of the number of
877 fragments by combining them as they are received.
879 The number of IP datagrams that have been discarded per second because
880 they needed to be fragmented at this entity but could not
881 be, e.g., because their Don't Fragment flag was set [ipFragFails].
885 .RB "With the " "IP6"
886 keyword, statistics about IPv6 network traffic are reported.
887 Note that IPv6 statistics depend on
888 .BR "sadc" "'s option " "-S IPV6"
890 The following values are displayed (formal SNMP names between
894 The total number of input datagrams received from
895 interfaces per second, including those received in error
896 [ipv6IfStatsInReceives].
898 The number of output datagrams per second which this
899 entity received and forwarded to their final
900 destinations [ipv6IfStatsOutForwDatagrams].
902 The total number of datagrams successfully
903 delivered per second to IPv6 user-protocols (including ICMP)
904 [ipv6IfStatsInDelivers].
906 The total number of IPv6 datagrams which local IPv6
907 user-protocols (including ICMP) supplied per second to IPv6 in
908 requests for transmission [ipv6IfStatsOutRequests].
909 Note that this counter
910 does not include any datagrams counted in fwddgm6/s.
912 The number of IPv6 fragments received per second which needed
913 to be reassembled at this interface [ipv6IfStatsReasmReqds].
915 The number of IPv6 datagrams successfully
916 reassembled per second [ipv6IfStatsReasmOKs].
918 The number of multicast packets received per second
919 by the interface [ipv6IfStatsInMcastPkts].
921 The number of multicast packets transmitted per second
922 by the interface [ipv6IfStatsOutMcastPkts].
924 The number of IPv6 datagrams that have been
925 successfully fragmented at this output interface per second
926 [ipv6IfStatsOutFragOKs].
928 The number of output datagram fragments that have
929 been generated per second as a result of fragmentation at
930 this output interface [ipv6IfStatsOutFragCreates].
934 .RB "With the " "EIP6"
935 keyword, statistics about IPv6 network errors are reported.
936 Note that IPv6 statistics depend on
937 .BR "sadc" "'s option " "-S IPV6"
939 The following values are displayed (formal SNMP names between
943 The number of input datagrams discarded per second due to
944 errors in their IPv6 headers, including version
945 number mismatch, other format errors, hop count
946 exceeded, errors discovered in processing their
947 IPv6 options, etc. [ipv6IfStatsInHdrErrors]
949 The number of input datagrams discarded per second because
950 the IPv6 address in their IPv6 header's destination
951 field was not a valid address to be received at
952 this entity. This count includes invalid
953 addresses (e.g., ::0) and unsupported addresses
954 (e.g., addresses with unallocated prefixes). For
955 entities which are not IPv6 routers and therefore
956 do not forward datagrams, this counter includes
957 datagrams discarded because the destination address
958 was not a local address [ipv6IfStatsInAddrErrors].
960 The number of locally-addressed datagrams
961 received successfully but discarded per second because of an
962 unknown or unsupported protocol [ipv6IfStatsInUnknownProtos].
964 The number of input datagrams that could not be
965 forwarded per second because their size exceeded the link MTU
966 of outgoing interface [ipv6IfStatsInTooBigErrors].
968 The number of input IPv6 datagrams per second for which no
969 problems were encountered to prevent their
970 continued processing, but which were discarded
971 (e.g., for lack of buffer space)
972 [ipv6IfStatsInDiscards]. Note that this
973 counter does not include any datagrams discarded
974 while awaiting re-assembly.
976 The number of output IPv6 datagrams per second for which no
977 problem was encountered to prevent their
978 transmission to their destination, but which were
979 discarded (e.g., for lack of buffer space)
980 [ipv6IfStatsOutDiscards]. Note
981 that this counter would include datagrams counted
982 in fwddgm6/s if any such packets
983 met this (discretionary) discard criterion.
985 The number of input datagrams discarded per second because no
986 route could be found to transmit them to their
987 destination [ipv6IfStatsInNoRoutes].
989 The number of locally generated IP datagrams discarded per second
990 because no route could be found to transmit them to their
991 destination [unknown formal SNMP name].
993 The number of failures detected per second by the IPv6
994 re-assembly algorithm (for whatever reason: timed
995 out, errors, etc.) [ipv6IfStatsReasmFails].
996 Note that this is not necessarily a count of discarded
997 IPv6 fragments since some algorithms
998 can lose track of the number of fragments
999 by combining them as they are received.
1001 The number of IPv6 datagrams that have been
1002 discarded per second because they needed to be fragmented
1003 at this output interface but could not be
1004 [ipv6IfStatsOutFragFails].
1006 The number of input datagrams discarded per second because
1007 datagram frame didn't carry enough data
1008 [ipv6IfStatsInTruncatedPkts].
1012 .RB "With the " "NFS"
1013 keyword, statistics about NFS client activity are reported.
1014 The following values are displayed:
1017 Number of RPC requests made per second.
1019 Number of RPC requests per second, those which needed to be retransmitted
1020 (for example because of a server timeout).
1022 Number of 'read' RPC calls made per second.
1024 Number of 'write' RPC calls made per second.
1026 Number of 'access' RPC calls made per second.
1028 Number of 'getattr' RPC calls made per second.
1032 .RB "With the " "NFSD"
1033 keyword, statistics about NFS server activity are reported.
1034 The following values are displayed:
1037 Number of RPC requests received per second.
1039 Number of bad RPC requests received per second, those whose
1040 processing generated an error.
1042 Number of network packets received per second.
1044 Number of UDP packets received per second.
1046 Number of TCP packets received per second.
1048 Number of reply cache hits per second.
1050 Number of reply cache misses per second.
1052 Number of 'read' RPC calls received per second.
1054 Number of 'write' RPC calls received per second.
1056 Number of 'access' RPC calls received per second.
1058 Number of 'getattr' RPC calls received per second.
1062 .RB "With the " "SOCK"
1063 keyword, statistics on sockets in use are reported (IPv4).
1064 The following values are displayed:
1067 Total number of sockets used by the system.
1069 Number of TCP sockets currently in use.
1071 Number of UDP sockets currently in use.
1073 Number of RAW sockets currently in use.
1075 Number of IP fragments currently in queue.
1077 Number of TCP sockets in TIME_WAIT state.
1081 .RB "With the " "SOCK6"
1082 keyword, statistics on sockets in use are reported (IPv6).
1083 Note that IPv6 statistics depend on
1084 .BR "sadc" "'s option " "-S IPV6"
1086 The following values are displayed:
1089 Number of TCPv6 sockets currently in use.
1091 Number of UDPv6 sockets currently in use.
1093 Number of RAWv6 sockets currently in use.
1095 Number of IPv6 fragments currently in use.
1099 .RB "With the " "SOFT"
1100 keyword, statistics about software-based network processing are reported.
1101 The following values are displayed:
1104 The total number of network frames processed per second.
1106 The total number of network frames dropped per second because there
1107 was no room on the processing queue.
1109 The number of times the softirq handler function terminated per second
1110 because its budget was consumed or the time limit was reached, but more
1111 work could have been done.
1113 The number of times the CPU has been woken up per second
1114 to process packets via an inter-processor interrupt.
1116 The number of times the flow limit has been reached per second.
1117 Flow limiting is an optional RPS feature that can be used to limit the number of
1118 packets queued to the backlog for each flow to a certain amount.
1119 This can help ensure that smaller flows are processed even though
1120 much larger flows are pushing packets in.
1122 The length of the network backlog.
1126 .RB "With the " "TCP"
1127 keyword, statistics about TCPv4 network traffic are reported.
1128 Note that TCPv4 statistics depend on
1129 .BR "sadc" "'s option " "-S SNMP"
1131 The following values are displayed (formal SNMP names between
1135 The number of times TCP connections have made a direct
1136 transition to the SYN-SENT state from the CLOSED state per second [tcpActiveOpens].
1138 The number of times TCP connections have made a direct
1139 transition to the SYN-RCVD state from the LISTEN state per second [tcpPassiveOpens].
1141 The total number of segments received per second, including those
1142 received in error [tcpInSegs]. This count includes segments received on
1143 currently established connections.
1145 The total number of segments sent per second, including those on
1146 current connections but excluding those containing only
1147 retransmitted octets [tcpOutSegs].
1151 .RB "With the " "ETCP"
1152 keyword, statistics about TCPv4 network errors are reported.
1153 Note that TCPv4 statistics depend on
1154 .BR "sadc" "'s option " "-S SNMP"
1156 The following values are displayed (formal SNMP names between
1160 The number of times per second TCP connections have made a direct
1161 transition to the CLOSED state from either the SYN-SENT
1162 state or the SYN-RCVD state, plus the number of times per second TCP
1163 connections have made a direct transition to the LISTEN
1164 state from the SYN-RCVD state [tcpAttemptFails].
1166 The number of times per second TCP connections have made a direct
1167 transition to the CLOSED state from either the ESTABLISHED
1168 state or the CLOSE-WAIT state [tcpEstabResets].
1170 The total number of segments retransmitted per second - that is, the
1171 number of TCP segments transmitted containing one or more
1172 previously transmitted octets [tcpRetransSegs].
1174 The total number of segments received in error (e.g., bad
1175 TCP checksums) per second [tcpInErrs].
1177 The number of TCP segments sent per second containing the RST flag [tcpOutRsts].
1181 .RB "With the " "UDP"
1182 keyword, statistics about UDPv4 network traffic are reported.
1183 Note that UDPv4 statistics depend on
1184 .BR "sadc" "'s option " "-S SNMP"
1186 The following values are displayed (formal SNMP names between
1190 The total number of UDP datagrams delivered per second to UDP users [udpInDatagrams].
1192 The total number of UDP datagrams sent per second from this entity [udpOutDatagrams].
1194 The total number of received UDP datagrams per second for which there
1195 was no application at the destination port [udpNoPorts].
1197 The number of received UDP datagrams per second that could not be
1198 delivered for reasons other than the lack of an application
1199 at the destination port [udpInErrors].
1203 .RB "With the " "UDP6"
1204 keyword, statistics about UDPv6 network traffic are reported.
1205 Note that UDPv6 statistics depend on
1206 .BR "sadc" "'s option " "-S IPV6"
1208 The following values are displayed (formal SNMP names between
1212 The total number of UDP datagrams delivered per second to UDP users
1215 The total number of UDP datagrams sent per second from this
1216 entity [udpOutDatagrams].
1218 The total number of received UDP datagrams per second for which there
1219 was no application at the destination port [udpNoPorts].
1221 The number of received UDP datagrams per second that could not be
1222 delivered for reasons other than the lack of an application
1223 at the destination port [udpInErrors].
1228 keyword is equivalent to specifying all the keywords above and therefore all the network
1229 activities are reported.
1231 .BI "-o [ " "filename " "]"
1232 Save the readings in the file in binary form. Each reading
1233 is in a separate record. The default value of the
1235 parameter is the current standard system activity daily data file. If
1237 is a directory instead of a plain file then it is considered as the directory
1238 where the standard system activity daily data files are located. Option
1239 .BR "-o " "is exclusive of option " "-f" "."
1240 All the data available from the kernel are saved in the file (in fact,
1241 .BR "sar " "calls its data collector " "sadc " "with the option " "-S ALL" "."
1242 .RB "See " "sadc" "(8) manual page)."
1244 .BI "-P { " "cpu_list " "| ALL }"
1245 Report per-processor statistics for the specified processor or processors.
1247 is a list of comma-separated values or range of values (e.g.,
1248 .BR "0,2,4-7,12-" ")."
1249 Note that processor 0 is the first processor, and processor
1251 is the global average among all processors.
1254 keyword reports statistics for each individual processor, and globally for
1255 all processors. Offline processors are not displayed.
1257 .BR "-p" ", " "--pretty"
1258 Make reports easier to read by a human.
1259 This option may be especially useful when displaying e.g., network interfaces
1260 or block devices statistics.
1262 .BI "-q [ " "keyword" "[,...] | ALL ]"
1263 Report system load and pressure-stall statistics.
1265 Possible keywords are
1266 .BR "CPU" ", " "IO" ", " "LOAD" ", " "MEM " "and "PSI" "."
1268 .RB "With the " "CPU"
1269 keyword, CPU pressure statistics are reported.
1270 The following values are displayed:
1273 Percentage of the time that at least some runnable tasks were delayed because the CPU
1274 was unavailable to them, over the last 10 second window.
1276 Percentage of the time that at least some runnable tasks were delayed because the CPU
1277 was unavailable to them, over the last 60 second window.
1279 Percentage of the time that at least some runnable tasks were delayed because the CPU
1280 was unavailable to them, over the last 300 second window.
1282 Percentage of the time that at least some runnable tasks were delayed because the CPU
1283 was unavailable to them, over the last time interval.
1287 .RB "With the " "IO"
1288 keyword, I/O pressure statistics are reported.
1289 The following values are displayed:
1292 Percentage of the time that at least some tasks lost waiting for I/O,
1293 over the last 10 second window.
1295 Percentage of the time that at least some tasks lost waiting for I/O,
1296 over the last 60 second window.
1298 Percentage of the time that at least some tasks lost waiting for I/O,
1299 over the last 300 second window.
1301 Percentage of the time that at least some tasks lost waiting for I/O,
1302 over the last time interval.
1304 Percentage of the time during which all non-idle tasks were stalled
1305 waiting for I/O, over the last 10 second window.
1307 Percentage of the time during which all non-idle tasks were stalled
1308 waiting for I/O, over the last 60 second window.
1310 Percentage of the time during which all non-idle tasks were stalled
1311 waiting for I/O, over the last 300 second window.
1313 Percentage of the time during which all non-idle tasks were stalled
1314 waiting for I/O, over the last time interval.
1318 .RB "With the " "LOAD"
1319 keyword, queue length and load averages statistics are reported.
1320 The following values are displayed:
1323 Run queue length (number of tasks running or waiting for run time).
1325 Number of tasks in the task list.
1327 System load average for the last minute.
1328 The load average is calculated as the average number of runnable or
1329 running tasks (R state), and the number of tasks in uninterruptible
1330 sleep (D state) over the specified interval.
1332 System load average for the past 5 minutes.
1334 System load average for the past 15 minutes.
1336 Number of tasks currently blocked, waiting for I/O to complete.
1340 .RB "With the " "MEM"
1341 keyword, memory pressure statistics are reported.
1342 The following values are displayed:
1345 Percentage of the time during which at least some tasks were waiting
1346 for memory resources, over the last 10 second window.
1348 Percentage of the time during which at least some tasks were waiting
1349 for memory resources, over the last 60 second window.
1351 Percentage of the time during which at least some tasks were waiting
1352 for memory resources, over the last 300 second window.
1354 Percentage of the time during which at least some tasks were waiting
1355 for memory resources, over the last time interval.
1357 Percentage of the time during which all non-idle tasks were stalled
1358 waiting for memory resources, over the last 10 second window.
1360 Percentage of the time during which all non-idle tasks were stalled
1361 waiting for memory resources, over the last 60 second window.
1363 Percentage of the time during which all non-idle tasks were stalled
1364 waiting for memory resources, over the last 300 second window.
1366 Percentage of the time during which all non-idle tasks were stalled
1367 waiting for memory resources, over the last time interval.
1372 keyword is equivalent to specifying CPU, IO and MEM keywords together
1373 and therefore all the pressure-stall statistics are reported.
1376 keyword is equivalent to specifying all the keywords above
1377 and therefore all the statistics are reported.
1380 Report memory utilization statistics. The
1382 keyword indicates that all the memory fields should be displayed.
1383 The following values may be displayed:
1386 Amount of free memory available in kilobytes.
1388 Estimate of how much memory in kilobytes is available for starting new
1389 applications, without swapping.
1390 The estimate takes into account that the system needs some page cache to
1391 function well, and that not all reclaimable slab will be reclaimable,
1392 due to items being in use. The impact of those factors will vary from
1395 Amount of used memory in kilobytes (calculated as total installed memory -
1396 kbmemfree - kbbuffers - kbcached - kbslab).
1398 Percentage of used memory.
1400 Amount of memory used as buffers by the kernel in kilobytes.
1402 Amount of memory used to cache data by the kernel in kilobytes.
1404 Amount of memory in kilobytes needed for current workload.
1405 This is an estimate of how much
1406 RAM/swap is needed to guarantee that there never is out of memory.
1408 Percentage of memory needed for current workload in relation to the
1409 total amount of memory (RAM+swap). This number may be greater
1410 than 100% because the kernel usually overcommits memory.
1412 Amount of active memory in kilobytes (memory that has been used more recently
1413 and usually not reclaimed unless absolutely necessary).
1415 Amount of inactive memory in kilobytes (memory which has been less recently
1416 used. It is more eligible to be reclaimed for other purposes).
1418 Amount of memory in kilobytes waiting to get written back to the disk.
1420 Amount of non-file backed pages in kilobytes mapped into userspace page tables.
1422 Amount of memory in kilobytes used by the kernel to cache data structures
1425 Amount of memory in kilobytes used for kernel stack space.
1427 Amount of memory in kilobytes dedicated to the lowest level of page tables.
1429 Amount of memory in kilobytes of used virtual address space.
1433 Report swap space utilization statistics.
1434 The following values are displayed:
1437 Amount of free swap space in kilobytes.
1439 Amount of used swap space in kilobytes.
1441 Percentage of used swap space.
1443 Amount of cached swap memory in kilobytes.
1444 This is memory that once was swapped out, is swapped back in but still also
1445 is in the swap area (if memory is needed it doesn't need to be swapped out
1446 again because it is already in the swap area. This saves I/O).
1448 Percentage of cached swap memory in relation to the amount of used swap space.
1451 .BI "-s [ " "hh" ":" "mm" "[:" "ss" "] ]"
1452 Set the starting time of the data, causing the
1454 command to extract records time-tagged at, or following, the time
1455 specified. The default starting time is 08:00:00.
1456 Hours must be given in 24-hour format. This option can be
1457 used only when data are read from a file (option
1461 Indicate which data collector is called by
1463 If the data collector is sought in
1465 then enter "which sadc" to know where it is located.
1468 When reading data from a daily data file, indicate that
1470 should display the timestamps in the original local time of
1471 the data file creator. Without this option, the
1473 command displays the timestamps in the user's locale time.
1476 Report CPU utilization. The
1478 keyword indicates that all the CPU fields should be displayed.
1479 The report may show the following fields:
1482 Percentage of CPU utilization that occurred while executing at the user
1483 level (application). Note that this field includes time spent running
1486 Percentage of CPU utilization that occurred while executing at the user
1487 level (application). Note that this field does NOT include time spent
1488 running virtual processors.
1490 Percentage of CPU utilization that occurred while executing at the user
1491 level with nice priority.
1493 Percentage of CPU utilization that occurred while executing at the system
1494 level (kernel). Note that this field includes time spent servicing
1495 hardware and software interrupts.
1497 Percentage of CPU utilization that occurred while executing at the system
1498 level (kernel). Note that this field does NOT include time spent servicing
1499 hardware or software interrupts.
1501 Percentage of time that the CPU or CPUs were idle during which
1502 the system had an outstanding disk I/O request.
1504 Percentage of time spent in involuntary wait by the virtual CPU
1505 or CPUs while the hypervisor was servicing another virtual processor.
1507 Percentage of time spent by the CPU or CPUs to service hardware interrupts.
1509 Percentage of time spent by the CPU or CPUs to service software interrupts.
1511 Percentage of time spent by the CPU or CPUs to run a virtual processor.
1513 Percentage of time spent by the CPU or CPUs to run a niced guest.
1515 Percentage of time that the CPU or CPUs were idle and the system
1516 did not have an outstanding disk I/O request.
1520 Print version number then exit.
1523 Report status of inode, file and other kernel tables.
1524 The following values are displayed:
1527 Number of unused cache entries in the directory cache.
1529 Number of file handles used by the system.
1531 Number of inode handlers used by the system.
1533 Number of pseudo-terminals used by the system.
1537 Report swapping statistics. The following values are displayed:
1540 Total number of swap pages the system brought in per second.
1542 Total number of swap pages the system brought out per second.
1546 Report task creation and system switching activity.
1547 The following values are displayed:
1550 Total number of tasks created per second.
1552 Total number of context switches per second.
1556 Report TTY devices activity. The following values are displayed:
1559 Number of receive interrupts per second for current serial line.
1560 Serial line number is given in the TTY column.
1562 Number of transmit interrupts per second for current serial line.
1564 Number of frame errors per second for current serial line.
1566 Number of parity errors per second for current serial line.
1568 Number of breaks per second for current serial line.
1570 Number of overrun errors per second for current serial line.
1575 to omit output for any devices for which there was no activity during the
1581 command takes into account the following environment variables:
1584 By default statistics are displayed in color when the output is connected to a terminal.
1585 Use this variable to change the settings. Possible values for this variable are
1586 .IR "never" ", " "always " "or " "auto"
1587 (the latter is equivalent to the default settings).
1589 Please note that the color (being red, yellow, or some other color) used to display a value
1590 is not indicative of any kind of issue simply because of the color. It only indicates different
1594 Specify the colors and other attributes used to display statistics on the terminal.
1595 Its value is a colon-separated list of capabilities that defaults to
1596 .BR "C=33;22:H=31;1:I=32;22:M=35;1:N=34;1:R=31;22:Z=34;22" "."
1597 Supported capabilities are:
1601 SGR (Select Graphic Rendition) substring for comments inserted in the binary daily
1605 SGR substring for percentage values greater than or equal to 75%.
1608 SGR substring for item names or values (eg. network interfaces, CPU number...)
1611 SGR substring for percentage values in the range from 50% to 75%.
1614 SGR substring for non-zero statistics values.
1617 SGR substring for restart messages.
1620 SGR substring for zero values.
1624 This variable contains the maximum number of lines after which a header has to be
1627 when the output is not a terminal.
1630 If this variable exists and its value is
1631 .BR "UTC " "then " "sar"
1632 will save its data in UTC time (data will still be displayed in local time).
1634 will also use UTC time instead of local time to determine the current daily
1635 data file located in the
1637 directory. This variable may be useful for servers with users located across
1641 If this variable exists and its value is
1643 then the current locale will be ignored when printing the date in the report header.
1645 command will use the ISO 8601 format (YYYY-MM-DD) instead.
1646 The timestamp will also be compliant with ISO 8601 format.
1651 Report CPU utilization for each 2 seconds. 5 lines are displayed.
1653 .B sar -I 14 -o int14.file 2 10
1654 Report statistics on IRQ 14 for each 2 seconds. 10 lines are displayed.
1655 Data are stored in a file called
1656 .IR "int14.file" "."
1658 .B sar -r -n DEV -f @SA_DIR@/sa16
1659 .RI "Display memory and network statistics saved in daily data file " "sa16" "."
1662 Display all the statistics saved in current daily data file.
1665 .IR "/proc " "filesystem must be mounted for the
1666 .BR "sar " "command to work."
1668 All the statistics are not necessarily available, depending on the kernel version used.
1670 assumes that you are using at least a 2.6 kernel.
1672 .RB "Although " "sar"
1673 speaks of kilobytes (kB), megabytes (MB)..., it actually uses kibibytes (kiB), mebibytes (MiB)...
1674 A kibibyte is equal to 1024 bytes, and a mebibyte is equal to 1024 kibibytes.
1679 .I @SA_DIR@/saYYYYMMDD
1681 The standard system activity daily data files and their default location.
1682 .IR "YYYY " "stands for the current year, " "MM " "for the current month and " "DD"
1683 for the current day.
1686 .IR "/proc " "and " "/sys " "contain various files with system statistics."
1689 Sebastien Godard (sysstat <at> orange.fr)
1692 .BR "sadc" "(8), " "sa1" "(8), " "sa2" "(8), " "sadf" "(1), " "sysstat" "(5), " "pidstat" "(1),"
1693 .BR "mpstat" "(1), " "iostat" "(1), " "vmstat" "(8)"
1695 .I https://github.com/sysstat/sysstat
1697 .I http://pagesperso-orange.fr/sebastien.godard/