]> granicus.if.org Git - sysstat/blob - man/sar.in
Merge branch 'iso-time-fmt' of https://github.com/ynamiki/sysstat
[sysstat] / man / sar.in
1 .TH SAR 1 "OCTOBER 2015" Linux "Linux User's Manual" -*- nroff -*-
2 .SH NAME
3 sar \- Collect, report, or save system activity information.
4 .SH SYNOPSIS
5 .B sar [ -A ] [ -B ] [ -b ] [ -C ] [ -D ] [ -d ] [ -F [ MOUNT ] ] [ -H ] [ -h ] [ -p ] [ -q ] [ -R ]
6 .B [ -r [ ALL ] ] [ -S ] [ -t ] [ -u [ ALL ] ] [ -V ] [ -v ] [ -W ] [ -w ] [ -y ] [ --sadc ]
7 .B [ -I {
8 .I int
9 .B [,...] | SUM | ALL | XALL } ] [ -P {
10 .I cpu
11 .B [,...] | ALL } ]
12 .B [ -m {
13 .I keyword
14 .B [,...] | ALL } ]
15 .B [ -n {
16 .I keyword
17 .B [,...] | ALL } ]
18 .B [ -j { ID | LABEL | PATH | UUID | ... } ]
19 .B [ -f [
20 .I filename
21 .B ] | -o [
22 .I filename
23 .B ] | -[0-9]+ ]
24 .B [ -i
25 .I interval
26 .B ] [ -s [
27 .I hh:mm[:ss]
28 .B ] ] [ -e [
29 .I hh:mm[:ss]
30 .B ] ] [
31 .I interval
32 .B [
33 .I count
34 .B ] ]
35 .SH DESCRIPTION
36 The
37 .B sar
38 command writes to standard output the contents of selected
39 cumulative activity counters in the operating system. The accounting
40 system, based on the values in the
41 .I count
42 and
43 .I interval
44 parameters, writes information the specified number of times spaced
45 at the specified intervals in seconds.
46 If the
47 .I interval
48 parameter is set to zero, the
49 .B sar
50 command displays the average statistics for the time
51 since the system was started. If the
52 .I interval
53 parameter is specified without the
54 .I count
55 parameter, then reports are generated continuously.
56 The collected data can also
57 be saved in the file specified by the -o
58 .I filename
59 flag, in addition to being displayed onto the screen. If
60 .I filename
61 is omitted,
62 .B sar
63 uses the standard system activity daily data file (see below).
64 By default all the data available from the kernel are saved in the
65 data file.
66
67 The
68 .B sar
69 command extracts and writes to standard output records previously
70 saved in a file. This file can be either the one specified by the
71 -f flag or, by default, the standard system activity daily data file.
72 It is also possible to enter -1, -2 etc. as an argument to
73 .B sar
74 to display data
75 of that days ago. For example, -1 will point at the standard system
76 activity file of yesterday.
77
78 Standard system activity daily data files are named
79 .I saDD
80 or
81 .IR saYYYYMMDD ,
82 where YYYY stands for the current year, MM for the current month and
83 DD for the current day. They are the default files used by
84 .B sar
85 only when no filename has been explicitly specified.
86 When used to write data to files (with its option -o),
87 .B sar
88 will use
89 .I saYYYYMMDD
90 if option -D has also been specified, else it will use
91 .IR saDD .
92 When used to display the records previously saved in a file,
93 .B sar
94 will look for the most recent of
95 .I saDD
96 and
97 .IR saYYYYMMDD ,
98 and use it.
99
100 Standard system activity daily data files are located in the
101 .I @SA_DIR@
102 directory by default. Yet it is possible to specify an alternate
103 location for them: If a directory (instead of a plain file) is used
104 with options -f or -o
105 then it will be considered as the directory containing the data files.
106
107 Without the -P flag, the
108 .B sar
109 command reports system-wide (global among all processors) statistics,
110 which are calculated as averages for values expressed as percentages,
111 and as sums otherwise. If the -P
112 flag is given, the
113 .B sar
114 command reports activity which relates to the specified processor or
115 processors. If -P ALL
116 is given, the
117 .B sar
118 command reports statistics for each individual processor and global
119 statistics among all processors.
120
121 You can select information about specific system activities using
122 flags. Not specifying any flags selects only CPU activity.
123 Specifying the -A
124 flag selects all possible activities.
125
126 The default version of the
127 .B sar
128 command (CPU utilization report) might be one of the first facilities
129 the user runs to begin system activity investigation, because it
130 monitors major system resources. If CPU utilization is near 100 percent
131 (user + nice + system), the workload sampled is CPU-bound.
132
133 If multiple samples and multiple reports are desired, it is convenient
134 to specify an output file for the
135 .B sar
136 command. 
137 Run the
138 .B sar
139 command as a background process. The syntax for this is:
140
141 .B sar -o datafile interval count >/dev/null 2>&1 &
142
143 All data are captured in binary form and saved to a file (datafile).
144 The data can then be selectively displayed with the
145 .B sar
146 command using the -f
147 option. Set the
148 .I interval
149 and
150 .I count
151 parameters to select
152 .I count
153 records at
154 .I interval
155 second intervals. If the
156 .I count
157 parameter is not set, all the records saved in the
158 file will be selected.
159 Collection of data in this manner is useful to characterize
160 system usage over a period of time and determine peak usage hours.
161
162 Note:   The
163 .B sar
164 command only reports on local activities.
165
166 .SH OPTIONS
167 .IP -A
168 This is equivalent to specifying
169 .BR "-bBdFHqRSuvwWy -I SUM -I XALL -m ALL -n ALL -r ALL -u ALL -P ALL".
170 .IP -B
171 Report paging statistics.
172 The following values are displayed:
173
174 .B pgpgin/s
175 .RS
176 .RS
177 Total number of kilobytes the system paged in from disk per second.
178 .RE
179
180 .B pgpgout/s
181 .RS
182 Total number of kilobytes the system paged out to disk per second.
183 .RE
184
185 .B fault/s
186 .RS
187 Number of page faults (major + minor) made by the system per second.
188 This is not a count of page faults that generate I/O, because some page
189 faults can be resolved without I/O.
190 .RE
191
192 .B majflt/s
193 .RS
194 Number of major faults the system has made per second, those which
195 have required loading a memory page from disk.
196 .RE
197
198 .B pgfree/s
199 .RS
200 Number of pages placed on the free list by the system per second.
201 .RE
202
203 .B pgscank/s
204 .RS
205 Number of pages scanned by the kswapd daemon per second.
206 .RE
207
208 .B pgscand/s
209 .RS
210 Number of pages scanned directly per second.
211 .RE
212
213 .B pgsteal/s
214 .RS
215 Number of pages the system has reclaimed from cache (pagecache and
216 swapcache) per second to satisfy its memory demands.
217 .RE
218
219 .B %vmeff
220 .RS
221 Calculated as pgsteal / pgscan, this is a metric of the efficiency of
222 page reclaim. If it is near 100% then almost every page coming off the
223 tail of the inactive list is being reaped. If it gets too low (e.g. less
224 than 30%) then the virtual memory is having some difficulty.
225 This field is displayed as zero if no pages have been scanned during the
226 interval of time.
227 .RE
228 .RE
229 .IP -b
230 Report I/O and transfer rate statistics.
231 The following values are displayed:
232
233 .B tps
234 .RS
235 .RS
236 Total number of transfers per second that were issued to physical devices.
237 A transfer is an I/O request to a physical device. Multiple logical
238 requests can be combined into a single I/O request to the device.
239 A transfer is of indeterminate size.
240 .RE
241
242 .B rtps
243 .RS
244 Total number of read requests per second issued to physical devices.
245 .RE
246
247 .B wtps
248 .RS
249 Total number of write requests per second issued to physical devices.
250 .RE
251
252 .B bread/s
253 .RS
254 Total amount of data read from the devices in blocks per second.
255 Blocks are equivalent to sectors
256 and therefore have a size of 512 bytes.
257 .RE
258
259 .B bwrtn/s
260 .RS
261 Total amount of data written to devices in blocks per second.
262 .RE
263 .RE
264 .IP -C
265 When reading data from a file, tell
266 .B sar
267 to display comments that have been inserted by
268 .BR sadc .
269 .IP -D
270 Use
271 .I saYYYYMMDD
272 instead of
273 .I saDD
274 as the standard system activity daily data file name. This option
275 works only when used in conjunction with option -o
276 to save data to file.
277 .IP -d
278 Report activity for each block device.
279 When data are displayed, the device specification
280 .I devM-n
281 is generally used (DEV column).
282 M is the major number of the device and n
283 its minor number.
284 Device names may also be pretty-printed if option -p
285 is used or persistent device names can be printed if option -j is used
286 (see below).
287 Note that disk activity depends on
288 .B sadc
289 options 
290 .B "-S DISK"
291 and
292 .B "-S XDISK"
293 to be collected. The following values are displayed:
294
295 .B tps
296 .RS
297 .RS
298 Indicate the number of transfers per second that were issued to the device.
299 Multiple logical requests can be combined into a single I/O request to the
300 device. A transfer is of indeterminate size.
301 .RE
302
303 .B rd_sec/s
304 .RS
305 Number of sectors read from the device. The size of a sector is 512 bytes.
306 .RE
307
308 .B wr_sec/s
309 .RS
310 Number of sectors written to the device. The size of a sector is 512 bytes.
311 .RE
312
313 .B avgrq-sz
314 .RS
315 The average size (in sectors) of the requests that were issued to the device.
316 .RE
317
318 .B avgqu-sz
319 .RS
320 The average queue length of the requests that were issued to the device.
321 .RE
322
323 .B await
324 .RS
325 The average time (in milliseconds) for I/O requests issued to the device
326 to be served. This includes the time spent by the requests in queue and
327 the time spent servicing them.
328 .RE
329
330 .B svctm
331 .RS
332 The average service time (in milliseconds) for I/O requests that were issued
333 to the device. Warning! Do not trust this field any more. This field will be
334 removed in a future sysstat version.
335 .RE
336
337 .B %util
338 .RS
339 Percentage of elapsed time during which I/O requests were issued to the device
340 (bandwidth utilization for the device). Device saturation occurs when this
341 value is close to 100% for devices serving requests serially. But for
342 devices serving requests in parallel, such as RAID arrays and modern SSDs,
343 this number does not reflect their performance limits.
344 .RE
345 .RE
346 .IP "-e [ hh:mm[:ss] ]"
347 Set the ending time of the report. The default ending time is
348 18:00:00. Hours must be given in 24-hour format.
349 This option can be used when data are read from
350 or written to a file (options -f or -o).
351 .IP "-F [ MOUNT ]"
352 Display statistics for currently mounted filesystems. Pseudo-filesystems are
353 ignored. At the end of the report,
354 .B sar
355 will display a summary of all those filesystems.
356 Use of the
357 .B MOUNT
358 parameter keyword indicates that mountpoint will be reported instead of
359 filesystem device.
360 Note that filesystems statistics depend on
361 .B sadc
362 option
363 .B "-S XDISK"
364 to be collected.
365
366 The following values are displayed:
367
368 .B MBfsfree
369 .RS
370 .RS
371 Total amount a free space in megabytes (including space available only to privileged user).
372 .RE
373
374 .B MBfsused
375 .RS
376 Total amount of space used in megabytes.
377 .RE
378
379 .B %fsused
380 .RS
381 Percentage of filesystem space used, as seen by a privileged user.
382 .RE
383
384 .B %ufsused
385 .RS
386 Percentage of filesystem space used, as seen by an unprivileged user.
387 .RE
388
389 .B Ifree
390 .RS
391 Total number of free file nodes in filesystem.
392 .RE
393
394 .B Iused
395 .RS
396 Total number of file nodes used in filesystem.
397 .RE
398
399 .B %Iused
400 .RS
401 Percentage of file nodes used in filesystem.
402 .RE
403 .RE
404 .IP "-f [ filename ]"
405 Extract records from
406 .I filename
407 (created by the -o
408 .I filename
409 flag). The default value of the
410 .I filename
411 parameter is the current standard system activity daily data file.
412 If
413 .I filename
414 is a directory instead of a plain file then it is considered as the
415 directory where the standard system activity daily data files are
416 located. The -f option is exclusive of the -o option.
417 .IP -H
418 Report hugepages utilization statistics.
419 The following values are displayed:
420
421 .B kbhugfree
422 .RS
423 .RS
424 Amount of hugepages memory in kilobytes that is not yet allocated.
425 .RE
426
427 .B kbhugused
428 .RS
429 Amount of hugepages memory in kilobytes that has been allocated.
430 .RE
431
432 .B %hugused
433 .RS
434 Percentage of total hugepages memory that has been allocated.
435 .RE
436 .RE
437 .IP -h
438 Display a short help message then exit.
439 .IP "-I { int [,...] | SUM | ALL | XALL }"
440 Report statistics for a given interrupt.
441 .I int
442 is the interrupt number. Specifying multiple -I
443 .I int
444 parameters on the command line will look at multiple independent interrupts.
445 The
446 .B SUM
447 keyword indicates that the total number of interrupts received per second
448 is to be displayed. The
449 .B ALL
450 keyword indicates that statistics from
451 the first 16 interrupts are to be reported, whereas the
452 .B XALL
453 keyword indicates that statistics from all interrupts, including potential
454 APIC interrupt sources, are to be reported.
455 Note that interrupt statistics depend on
456 .B sadc
457 option "-S INT"
458 to be collected.
459 .IP "-i interval"
460 Select data records at seconds as close as possible to the number specified
461 by the
462 .I interval
463 parameter.
464 .IP "-j { ID | LABEL | PATH | UUID | ... }"
465 Display persistent device names. Use this option in conjunction with option -d.
466 Options
467 .BR ID ,
468 .BR LABEL ,
469 etc. specify the type of the persistent name. These options are not limited,
470 only prerequisite is that directory with required persistent names is present in
471 .IR /dev/disk .
472 If persistent name is not found for the device, the device name
473 is pretty-printed (see option -p below).
474 .IP "-m { keyword [,...] | ALL }"
475 Report power management statistics.
476 Note that these statistics depend on
477 .BR sadc 's
478 option "-S POWER" to be collected.
479
480 Possible keywords are
481 .BR CPU ,
482 .BR FAN ,
483 .BR FREQ ,
484 .BR IN ,
485 .BR TEMP
486 and
487 .BR USB .
488
489 With the
490 .B CPU
491 keyword, statistics about CPU are reported.
492 The following value is displayed:
493
494 .B MHz
495 .RS
496 .RS
497 Instantaneous CPU clock frequency in MHz.
498 .RE
499
500 With the
501 .B FAN
502 keyword, statistics about fans speed are reported.
503 The following values are displayed:
504
505 .B rpm
506 .RS
507 Fan speed expressed in revolutions per minute.
508 .RE
509
510 .B drpm
511 .RS
512 This field is calculated as the difference between current fan speed (rpm)
513 and its low limit (fan_min).
514 .RE
515
516 .B DEVICE
517 .RS
518 Sensor device name.
519 .RE
520
521 With the
522 .B FREQ
523 keyword, statistics about CPU clock frequency are reported.
524 The following value is displayed:
525
526 .B wghMHz
527 .RS
528 Weighted average CPU clock frequency in MHz.
529 Note that the cpufreq-stats driver must be compiled in the
530 kernel for this option to work.
531 .RE
532
533 With the
534 .B IN
535 keyword, statistics about voltage inputs are reported.
536 The following values are displayed:
537
538 .B inV
539 .RS
540 Voltage input expressed in Volts.
541 .RE
542
543 .B %in
544 .RS
545 Relative input value. A value of 100% means that
546 voltage input has reached its high limit (in_max) whereas
547 a value of 0% means that it has reached its low limit (in_min).
548 .RE
549
550 .B DEVICE
551 .RS
552 Sensor device name.
553 .RE
554
555 With the
556 .B TEMP
557 keyword, statistics about devices temperature are reported.
558 The following values are displayed:
559
560 .B degC
561 .RS
562 Device temperature expressed in degrees Celsius.
563 .RE
564
565 .B %temp
566 .RS
567 Relative device temperature. A value of 100% means that
568 temperature has reached its high limit (temp_max).
569 .RE
570
571 .B DEVICE
572 .RS
573 Sensor device name.
574 .RE
575
576 With the
577 .B USB
578 keyword, the
579 .B sar
580 command takes a snapshot of all the USB devices currently plugged into
581 the system. At the end of the report,
582 .B sar
583 will display a summary of all those USB devices.
584 The following values are displayed:
585
586 .B BUS
587 .RS
588 Root hub number of the USB device.
589 .RE
590
591 .B idvendor
592 .RS
593 Vendor ID number (assigned by USB organization).
594 .RE
595
596 .B idprod
597 .RS
598 Product ID number (assigned by Manufacturer).
599 .RE
600
601 .B maxpower
602 .RS
603 Maximum power consumption of the device (expressed in mA).
604 .RE
605
606 .B manufact
607 .RS
608 Manufacturer name.
609 .RE
610
611 .B product
612 .RS
613 Product name.
614 .RE
615
616 The
617 .B ALL
618 keyword is equivalent to specifying all the keywords above and therefore all the power
619 management statistics are reported.
620 .RE
621 .RE
622 .IP "-n { keyword [,...] | ALL }"
623 Report network statistics.
624
625 Possible keywords are
626 .BR DEV ,
627 .BR EDEV ,
628 .BR NFS ,
629 .BR NFSD ,
630 .BR SOCK ,
631 .BR IP ,
632 .BR EIP ,
633 .BR ICMP ,
634 .BR EICMP ,
635 .BR TCP ,
636 .BR ETCP ,
637 .BR UDP ,
638 .BR SOCK6 ,
639 .BR IP6 ,
640 .BR EIP6 ,
641 .BR ICMP6 ,
642 .BR EICMP6 ,
643 .BR UDP6
644 and
645 .BR FC .
646
647 With the
648 .B DEV
649 keyword, statistics from the network devices are reported.
650 The following values are displayed:
651
652 .B IFACE
653 .RS
654 .RS
655 Name of the network interface for which statistics are reported.
656 .RE
657
658 .B rxpck/s
659 .RS
660 Total number of packets received per second.
661 .RE
662
663 .B txpck/s
664 .RS
665 Total number of packets transmitted per second.
666 .RE
667
668 .B rxkB/s
669 .RS
670 Total number of kilobytes received per second.
671 .RE
672
673 .B txkB/s
674 .RS
675 Total number of kilobytes transmitted per second.
676 .RE
677
678 .B rxcmp/s
679 .RS
680 Number of compressed packets received per second (for cslip etc.).
681 .RE
682
683 .B txcmp/s
684 .RS
685 Number of compressed packets transmitted per second.
686 .RE
687
688 .B rxmcst/s
689 .RS
690 Number of multicast packets received per second.
691 .RE
692
693 .B %ifutil
694 .RS
695 Utilization percentage of the network interface. For half-duplex interfaces,
696 utilization is calculated using the sum of rxkB/s and txkB/s as a percentage
697 of the interface speed. For full-duplex, this is the greater of rxkB/S or txkB/s.
698 .RE
699
700 With the
701 .B EDEV
702 keyword, statistics on failures (errors) from the network devices are reported.
703 The following values are displayed:
704
705 .B IFACE
706 .RS
707 Name of the network interface for which statistics are reported.
708 .RE
709
710 .B rxerr/s
711 .RS
712 Total number of bad packets received per second.
713 .RE
714
715 .B txerr/s
716 .RS
717 Total number of errors that happened per second while transmitting packets.
718 .RE
719
720 .B coll/s
721 .RS
722 Number of collisions that happened per second while transmitting packets.
723 .RE
724
725 .B rxdrop/s
726 .RS
727 Number of received packets dropped per second because of a lack of space in linux buffers.
728 .RE
729
730 .B txdrop/s
731 .RS
732 Number of transmitted packets dropped per second because of a lack of space in linux buffers.
733 .RE
734
735 .B txcarr/s
736 .RS
737 Number of carrier-errors that happened per second while transmitting packets.
738 .RE
739
740 .B rxfram/s
741 .RS
742 Number of frame alignment errors that happened per second on received packets.
743 .RE
744
745 .B rxfifo/s
746 .RS
747 Number of FIFO overrun errors that happened per second on received packets.
748 .RE
749
750 .B txfifo/s
751 .RS
752 Number of FIFO overrun errors that happened per second on transmitted packets.
753 .RE
754
755 With the
756 .B NFS
757 keyword, statistics about NFS client activity are reported.
758 The following values are displayed:
759
760 .B call/s
761 .RS
762 Number of RPC requests made per second.
763 .RE
764
765 .B retrans/s
766 .RS
767 Number of RPC requests per second, those which needed to be retransmitted (for
768 example because of a server timeout).
769 .RE
770
771 .B read/s
772 .RS
773 Number of 'read' RPC calls made per second.
774 .RE
775
776 .B write/s
777 .RS
778 Number of 'write' RPC calls made per second.
779 .RE
780
781 .B access/s
782 .RS
783 Number of 'access' RPC calls made per second.
784 .RE
785
786 .B getatt/s
787 .RS
788 Number of 'getattr' RPC calls made per second.
789 .RE
790
791 With the
792 .B NFSD
793 keyword, statistics about NFS server activity are reported.
794 The following values are displayed:
795
796 .B scall/s
797 .RS
798 Number of RPC requests received per second.
799 .RE
800
801 .B badcall/s
802 .RS
803 Number of bad RPC requests received per second, those whose
804 processing generated an error.
805 .RE
806
807 .B packet/s
808 .RS
809 Number of network packets received per second.
810 .RE
811
812 .B udp/s
813 .RS
814 Number of UDP packets received per second.
815 .RE
816
817 .B tcp/s
818 .RS
819 Number of TCP packets received per second.
820 .RE
821
822 .B hit/s
823 .RS
824 Number of reply cache hits per second.
825 .RE
826
827 .B miss/s
828 .RS
829 Number of reply cache misses per second.
830 .RE
831
832 .B sread/s
833 .RS
834 Number of 'read' RPC calls received per second.
835 .RE
836
837 .B swrite/s
838 .RS
839 Number of 'write' RPC calls received per second.
840 .RE
841
842 .B saccess/s
843 .RS
844 Number of 'access' RPC calls received per second.
845 .RE
846
847 .B sgetatt/s
848 .RS
849 Number of 'getattr' RPC calls received per second.
850 .RE
851
852 With the
853 .B SOCK
854 keyword, statistics on sockets in use are reported
855 (IPv4).
856 The following values are displayed:
857
858 .B totsck
859 .RS
860 Total number of sockets used by the system.
861 .RE
862
863 .B tcpsck
864 .RS
865 Number of TCP sockets currently in use.
866 .RE
867
868 .B udpsck
869 .RS
870 Number of UDP sockets currently in use.
871 .RE
872
873 .B rawsck
874 .RS
875 Number of RAW sockets currently in use.
876 .RE
877
878 .B ip-frag
879 .RS
880 Number of IP fragments currently in queue.
881 .RE
882
883 .B tcp-tw
884 .RS
885 Number of TCP sockets in TIME_WAIT state.
886 .RE
887
888 With the
889 .B IP
890 keyword, statistics about IPv4 network traffic are reported.
891 Note that IPv4 statistics depend on
892 .BR sadc 's
893 option "-S SNMP"
894 to be collected.
895 The following values are displayed (formal SNMP names between
896 square brackets):
897
898 .B irec/s
899 .RS
900 The total number of input datagrams received from interfaces
901 per second, including those received in error [ipInReceives].
902 .RE
903
904 .B fwddgm/s
905 .RS
906 The number of input datagrams per second, for which this entity was not
907 their final IP destination, as a result of which an attempt
908 was made to find a route to forward them to that final
909 destination [ipForwDatagrams].
910 .RE
911
912 .B idel/s
913 .RS
914 The total number of input datagrams successfully delivered per second
915 to IP user-protocols (including ICMP) [ipInDelivers].
916 .RE
917
918 .B orq/s
919 .RS
920 The total number of IP datagrams which local IP user-protocols (including ICMP)
921 supplied per second to IP in requests for transmission [ipOutRequests].
922 Note that this counter does not include any datagrams counted in fwddgm/s.
923 .RE
924
925 .B asmrq/s
926 .RS
927 The number of IP fragments received per second which needed to be
928 reassembled at this entity [ipReasmReqds].
929 .RE
930
931 .B asmok/s
932 .RS
933 The number of IP datagrams successfully re-assembled per second [ipReasmOKs].
934 .RE
935
936 .B fragok/s
937 .RS
938 The number of IP datagrams that have been successfully
939 fragmented at this entity per second [ipFragOKs].
940 .RE
941
942 .B fragcrt/s
943 .RS
944 The number of IP datagram fragments that have been
945 generated per second as a result of fragmentation at this entity [ipFragCreates].
946 .RE
947
948 With the
949 .B EIP
950 keyword, statistics about IPv4 network errors are reported.
951 Note that IPv4 statistics depend on
952 .BR sadc 's
953 option "-S SNMP" to be collected.
954 The following values are displayed (formal SNMP names between
955 square brackets):
956
957 .B ihdrerr/s
958 .RS
959 The number of input datagrams discarded per second due to errors in
960 their IP headers, including bad checksums, version number
961 mismatch, other format errors, time-to-live exceeded, errors
962 discovered in processing their IP options, etc. [ipInHdrErrors]
963 .RE
964
965 .B iadrerr/s
966 .RS
967 The number of input datagrams discarded per second because the IP
968 address in their IP header's destination field was not a
969 valid address to be received at this entity. This count
970 includes invalid addresses (e.g., 0.0.0.0) and addresses of
971 unsupported Classes (e.g., Class E). For entities which are
972 not IP routers and therefore do not forward datagrams, this
973 counter includes datagrams discarded because the destination
974 address was not a local address [ipInAddrErrors].
975 .RE
976
977 .B iukwnpr/s
978 .RS
979 The number of locally-addressed datagrams received
980 successfully but discarded per second because of an unknown or
981 unsupported protocol [ipInUnknownProtos].
982 .RE
983
984 .B idisc/s
985 .RS
986 The number of input IP datagrams per second for which no problems were
987 encountered to prevent their continued processing, but which
988 were discarded (e.g., for lack of buffer space) [ipInDiscards].
989 Note that this counter does not include any datagrams discarded while
990 awaiting re-assembly.
991 .RE
992
993 .B odisc/s
994 .RS
995 The number of output IP datagrams per second for which no problem was
996 encountered to prevent their transmission to their
997 destination, but which were discarded (e.g., for lack of
998 buffer space) [ipOutDiscards].
999 Note that this counter would include
1000 datagrams counted in fwddgm/s if any such packets met
1001 this (discretionary) discard criterion.
1002 .RE
1003
1004 .B onort/s
1005 .RS
1006 The number of IP datagrams discarded per second because no route could
1007 be found to transmit them to their destination [ipOutNoRoutes].
1008 Note that this counter includes any packets counted in fwddgm/s
1009 which meet this 'no-route' criterion.
1010 Note that this includes any datagrams which a host cannot route because all
1011 of its default routers are down.
1012 .RE
1013
1014 .B asmf/s
1015 .RS
1016 The number of failures detected per second by the IP re-assembly
1017 algorithm (for whatever reason: timed out, errors, etc) [ipReasmFails].
1018 Note that this is not necessarily a count of discarded IP
1019 fragments since some algorithms can lose track of the number of
1020 fragments by combining them as they are received.
1021 .RE
1022
1023 .B fragf/s
1024 .RS
1025 The number of IP datagrams that have been discarded per second because
1026 they needed to be fragmented at this entity but could not
1027 be, e.g., because their Don't Fragment flag was set [ipFragFails].
1028 .RE
1029
1030 With the
1031 .B ICMP
1032 keyword, statistics about ICMPv4 network traffic are reported.
1033 Note that ICMPv4 statistics depend on
1034 .BR sadc 's
1035 option "-S SNMP"
1036 to be collected.
1037 The following values are displayed (formal SNMP names between
1038 square brackets):
1039
1040 .B imsg/s
1041 .RS
1042 The total number of ICMP messages which the entity
1043 received per second [icmpInMsgs].
1044 Note that this counter includes all those counted by ierr/s.
1045 .RE
1046
1047 .B omsg/s
1048 .RS
1049 The total number of ICMP messages which this entity
1050 attempted to send per second [icmpOutMsgs].
1051 Note that this counter includes all those counted by oerr/s.
1052 .RE
1053
1054 .B iech/s
1055 .RS
1056 The number of ICMP Echo (request) messages received per second [icmpInEchos].
1057 .RE
1058
1059 .B iechr/s
1060 .RS
1061 The number of ICMP Echo Reply messages received per second [icmpInEchoReps].
1062 .RE
1063
1064 .B oech/s
1065 .RS
1066 The number of ICMP Echo (request) messages sent per second [icmpOutEchos].
1067 .RE
1068
1069 .B oechr/s
1070 .RS
1071 The number of ICMP Echo Reply messages sent per second [icmpOutEchoReps].
1072 .RE
1073
1074 .B itm/s
1075 .RS
1076 The number of ICMP Timestamp (request) messages received per second [icmpInTimestamps].
1077 .RE
1078
1079 .B itmr/s
1080 .RS
1081 The number of ICMP Timestamp Reply messages received per second [icmpInTimestampReps].
1082 .RE
1083
1084 .B otm/s
1085 .RS
1086 The number of ICMP Timestamp (request) messages sent per second [icmpOutTimestamps].
1087 .RE
1088
1089 .B otmr/s
1090 .RS
1091 The number of ICMP Timestamp Reply messages sent per second [icmpOutTimestampReps].
1092 .RE
1093
1094 .B iadrmk/s
1095 .RS
1096 The number of ICMP Address Mask Request messages received per second [icmpInAddrMasks].
1097 .RE
1098
1099 .B iadrmkr/s
1100 .RS
1101 The number of ICMP Address Mask Reply messages received per second [icmpInAddrMaskReps].
1102 .RE
1103
1104 .B oadrmk/s
1105 .RS
1106 The number of ICMP Address Mask Request messages sent per second [icmpOutAddrMasks].
1107 .RE
1108
1109 .B oadrmkr/s
1110 .RS
1111 The number of ICMP Address Mask Reply messages sent per second [icmpOutAddrMaskReps].
1112 .RE
1113
1114 With the
1115 .B EICMP
1116 keyword, statistics about ICMPv4 error messages are reported.
1117 Note that ICMPv4 statistics depend on
1118 .BR  sadc 's
1119 option "-S SNMP" to be collected.
1120 The following values are displayed (formal SNMP names between
1121 square brackets):
1122
1123 .B ierr/s
1124 .RS
1125 The number of ICMP messages per second which the entity received but
1126 determined as having ICMP-specific errors (bad ICMP
1127 checksums, bad length, etc.) [icmpInErrors].
1128 .RE
1129
1130 .B oerr/s
1131 .RS
1132 The number of ICMP messages per second which this entity did not send
1133 due to problems discovered within ICMP such as a lack of buffers [icmpOutErrors].
1134 .RE
1135
1136 .B idstunr/s
1137 .RS
1138 The number of ICMP Destination Unreachable messages
1139 received per second [icmpInDestUnreachs].
1140 .RE
1141
1142 .B odstunr/s
1143 .RS
1144 The number of ICMP Destination Unreachable messages sent per second [icmpOutDestUnreachs].
1145 .RE
1146
1147 .B itmex/s
1148 .RS
1149 The number of ICMP Time Exceeded messages received per second [icmpInTimeExcds].
1150 .RE
1151
1152 .B otmex/s
1153 .RS
1154 The number of ICMP Time Exceeded messages sent per second [icmpOutTimeExcds].
1155 .RE
1156
1157 .B iparmpb/s
1158 .RS
1159 The number of ICMP Parameter Problem messages received per second [icmpInParmProbs].
1160 .RE
1161
1162 .B oparmpb/s
1163 .RS
1164 The number of ICMP Parameter Problem messages sent per second [icmpOutParmProbs].
1165 .RE
1166
1167 .B isrcq/s
1168 .RS
1169 The number of ICMP Source Quench messages received per second [icmpInSrcQuenchs].
1170 .RE
1171
1172 .B osrcq/s
1173 .RS
1174 The number of ICMP Source Quench messages sent per second [icmpOutSrcQuenchs].
1175 .RE
1176
1177 .B iredir/s
1178 .RS
1179 The number of ICMP Redirect messages received per second [icmpInRedirects].
1180 .RE
1181
1182 .B oredir/s
1183 .RS
1184 The number of ICMP Redirect messages sent per second [icmpOutRedirects].
1185 .RE
1186
1187 With the
1188 .B TCP
1189 keyword, statistics about TCPv4 network traffic are reported.
1190 Note that TCPv4 statistics depend on
1191 .BR sadc 's
1192 option "-S SNMP" to be collected.
1193 The following values are displayed (formal SNMP names between
1194 square brackets):
1195
1196 .B active/s
1197 .RS
1198 The number of times TCP connections have made a direct
1199 transition to the SYN-SENT state from the CLOSED state per second [tcpActiveOpens].
1200 .RE
1201
1202 .B passive/s
1203 .RS
1204 The number of times TCP connections have made a direct
1205 transition to the SYN-RCVD state from the LISTEN state per second [tcpPassiveOpens].
1206 .RE
1207
1208 .B iseg/s
1209 .RS
1210 The total number of segments received per second, including those
1211 received in error [tcpInSegs].  This count includes segments received on
1212 currently established connections.
1213 .RE
1214
1215 .B oseg/s
1216 .RS
1217 The total number of segments sent per second, including those on
1218 current connections but excluding those containing only
1219 retransmitted octets [tcpOutSegs].
1220 .RE
1221
1222 With the
1223 .B ETCP
1224 keyword, statistics about TCPv4 network errors are reported.
1225 Note that TCPv4 statistics depend on
1226 .BR sadc 's
1227 option "-S SNMP" to be collected.
1228 The following values are displayed (formal SNMP names between
1229 square brackets):
1230
1231 .B atmptf/s
1232 .RS
1233 The number of times per second TCP connections have made a direct
1234 transition to the CLOSED state from either the SYN-SENT
1235 state or the SYN-RCVD state, plus the number of times per second TCP
1236 connections have made a direct transition to the LISTEN
1237 state from the SYN-RCVD state [tcpAttemptFails].
1238 .RE
1239
1240 .B estres/s
1241 .RS
1242 The number of times per second TCP connections have made a direct
1243 transition to the CLOSED state from either the ESTABLISHED
1244 state or the CLOSE-WAIT state [tcpEstabResets].
1245 .RE
1246
1247 .B retrans/s
1248 .RS
1249 The total number of segments retransmitted per second - that is, the
1250 number of TCP segments transmitted containing one or more
1251 previously transmitted octets [tcpRetransSegs].
1252 .RE
1253
1254 .B isegerr/s
1255 .RS
1256 The total number of segments received in error (e.g., bad
1257 TCP checksums) per second [tcpInErrs].
1258 .RE
1259
1260 .B orsts/s
1261 .RS
1262 The number of TCP segments sent per second containing the RST flag [tcpOutRsts].
1263 .RE
1264
1265 With the
1266 .B UDP
1267 keyword, statistics about UDPv4 network traffic are reported.
1268 Note that UDPv4 statistics depend on
1269 .BR sadc's
1270 option "-S SNMP" to be collected.
1271 The following values are displayed (formal SNMP names between
1272 square brackets):
1273
1274 .B idgm/s
1275 .RS
1276 The total number of UDP datagrams delivered per second to UDP users [udpInDatagrams].
1277 .RE
1278
1279 .B odgm/s
1280 .RS
1281 The total number of UDP datagrams sent per second from this entity [udpOutDatagrams].
1282 .RE
1283
1284 .B noport/s
1285 .RS
1286 The total number of received UDP datagrams per second for which there
1287 was no application at the destination port [udpNoPorts].
1288 .RE
1289
1290 .B idgmerr/s
1291 .RS
1292 The number of received UDP datagrams per second that could not be
1293 delivered for reasons other than the lack of an application
1294 at the destination port [udpInErrors].
1295 .RE
1296
1297 With the
1298 .B SOCK6
1299 keyword, statistics on sockets in use are reported (IPv6).
1300 Note that IPv6 statistics depend on
1301 .BR sadc 's
1302 option "-S IPV6" to be collected.
1303 The following values are displayed:
1304
1305 .B tcp6sck
1306 .RS
1307 Number of TCPv6 sockets currently in use.
1308 .RE
1309
1310 .B udp6sck
1311 .RS
1312 Number of UDPv6 sockets currently in use.
1313 .RE
1314
1315 .B raw6sck
1316 .RS
1317 Number of RAWv6 sockets currently in use.
1318 .RE
1319
1320 .B ip6-frag
1321 .RS
1322 Number of IPv6 fragments currently in use.
1323 .RE
1324
1325 With the
1326 .B IP6
1327 keyword, statistics about IPv6 network traffic are reported.
1328 Note that IPv6 statistics depend on
1329 .BR sadc 's
1330 option "-S IPV6" to be collected.
1331 The following values are displayed (formal SNMP names between
1332 square brackets):
1333
1334 .B irec6/s
1335 .RS
1336 The total number of input datagrams received from
1337 interfaces per second, including those received in error
1338 [ipv6IfStatsInReceives].
1339 .RE
1340
1341 .B fwddgm6/s
1342 .RS
1343 The number of output datagrams per second which this
1344 entity received and forwarded to their final
1345 destinations [ipv6IfStatsOutForwDatagrams].
1346 .RE
1347
1348 .B idel6/s
1349 .RS
1350 The total number of datagrams successfully
1351 delivered per second to IPv6 user-protocols (including ICMP)
1352 [ipv6IfStatsInDelivers].
1353 .RE
1354
1355 .B orq6/s
1356 .RS
1357 The total number of IPv6 datagrams which local IPv6
1358 user-protocols (including ICMP) supplied per second to IPv6 in
1359 requests for transmission [ipv6IfStatsOutRequests].
1360 Note that this counter
1361 does not include any datagrams counted in fwddgm6/s.
1362 .RE
1363
1364 .B asmrq6/s
1365 .RS
1366 The number of IPv6 fragments received per second which needed
1367 to be reassembled at this interface [ipv6IfStatsReasmReqds].
1368 .RE
1369
1370 .B asmok6/s
1371 .RS
1372 The number of IPv6 datagrams successfully
1373 reassembled per second [ipv6IfStatsReasmOKs].
1374 .RE
1375
1376 .B imcpck6/s
1377 .RS
1378 The number of multicast packets received per second
1379 by the interface [ipv6IfStatsInMcastPkts].
1380 .RE
1381
1382 .B omcpck6/s
1383 .RS
1384 The number of multicast packets transmitted per second
1385 by the interface [ipv6IfStatsOutMcastPkts].
1386 .RE
1387
1388 .B fragok6/s
1389 .RS
1390 The number of IPv6 datagrams that have been
1391 successfully fragmented at this output interface per second
1392 [ipv6IfStatsOutFragOKs].
1393 .RE
1394
1395 .B fragcr6/s
1396 .RS
1397 The number of output datagram fragments that have
1398 been generated per second as a result of fragmentation at
1399 this output interface [ipv6IfStatsOutFragCreates].
1400 .RE
1401
1402 With the
1403 .B EIP6
1404 keyword, statistics about IPv6 network errors are reported.
1405 Note that IPv6 statistics depend on
1406 .BR sadc 's
1407 option "-S IPV6" to be collected.
1408 The following values are displayed (formal SNMP names between
1409 square brackets):
1410
1411 .B ihdrer6/s
1412 .RS
1413 The number of input datagrams discarded per second due to
1414 errors in their IPv6 headers, including version
1415 number mismatch, other format errors, hop count
1416 exceeded, errors discovered in processing their
1417 IPv6 options, etc. [ipv6IfStatsInHdrErrors]
1418 .RE
1419
1420 .B iadrer6/s
1421 .RS
1422 The number of input datagrams discarded per second because
1423 the IPv6 address in their IPv6 header's destination
1424 field was not a valid address to be received at
1425 this entity. This count includes invalid
1426 addresses (e.g., ::0) and unsupported addresses
1427 (e.g., addresses with unallocated prefixes). For
1428 entities which are not IPv6 routers and therefore
1429 do not forward datagrams, this counter includes
1430 datagrams discarded because the destination address
1431 was not a local address [ipv6IfStatsInAddrErrors].
1432 .RE
1433
1434 .B iukwnp6/s
1435 .RS
1436 The number of locally-addressed datagrams
1437 received successfully but discarded per second because of an
1438 unknown or unsupported protocol [ipv6IfStatsInUnknownProtos].
1439 .RE
1440
1441 .B i2big6/s
1442 .RS
1443 The number of input datagrams that could not be
1444 forwarded per second because their size exceeded the link MTU
1445 of outgoing interface [ipv6IfStatsInTooBigErrors].
1446 .RE
1447
1448 .B idisc6/s
1449 .RS
1450 The number of input IPv6 datagrams per second for which no
1451 problems were encountered to prevent their
1452 continued processing, but which were discarded
1453 (e.g., for lack of buffer space)
1454 [ipv6IfStatsInDiscards]. Note that this
1455 counter does not include any datagrams discarded
1456 while awaiting re-assembly.
1457 .RE
1458
1459 .B odisc6/s
1460 .RS
1461 The number of output IPv6 datagrams per second for which no
1462 problem was encountered to prevent their
1463 transmission to their destination, but which were
1464 discarded (e.g., for lack of buffer space)
1465 [ipv6IfStatsOutDiscards]. Note
1466 that this counter would include datagrams counted
1467 in fwddgm6/s if any such packets
1468 met this (discretionary) discard criterion.
1469 .RE
1470
1471 .B inort6/s
1472 .RS
1473 The number of input datagrams discarded per second because no
1474 route could be found to transmit them to their
1475 destination [ipv6IfStatsInNoRoutes].
1476 .RE
1477
1478 .B onort6/s
1479 .RS
1480 The number of locally generated IP datagrams discarded per second
1481 because no route could be found to transmit them to their
1482 destination [unknown formal SNMP name].
1483 .RE
1484
1485 .B asmf6/s
1486 .RS
1487 The number of failures detected per second by the IPv6
1488 re-assembly algorithm (for whatever reason: timed
1489 out, errors, etc.) [ipv6IfStatsReasmFails].
1490 Note that this is not
1491 necessarily a count of discarded IPv6 fragments
1492 since some algorithms
1493 can lose track of the number of fragments
1494 by combining them as they are received.
1495 .RE
1496
1497 .B fragf6/s
1498 .RS
1499 The number of IPv6 datagrams that have been
1500 discarded per second because they needed to be fragmented
1501 at this output interface but could not be
1502 [ipv6IfStatsOutFragFails].
1503 .RE
1504
1505 .B itrpck6/s
1506 .RS
1507 The number of input datagrams discarded per second because
1508 datagram frame didn't carry enough data
1509 [ipv6IfStatsInTruncatedPkts].
1510 .RE
1511
1512 With the
1513 .B ICMP6
1514 keyword, statistics about ICMPv6 network traffic are reported.
1515 Note that ICMPv6 statistics depend on
1516 .BR sadc 's
1517 option "-S IPV6" to be collected.
1518 The following values are displayed (formal SNMP names between
1519 square brackets):
1520
1521 .B imsg6/s
1522 .RS
1523 The total number of ICMP messages received
1524 by the interface per second which includes all those
1525 counted by ierr6/s [ipv6IfIcmpInMsgs].
1526 .RE
1527
1528 .B omsg6/s
1529 .RS
1530 The total number of ICMP messages which this
1531 interface attempted to send per second [ipv6IfIcmpOutMsgs].
1532 .RE
1533
1534 .B iech6/s
1535 .RS
1536 The number of ICMP Echo (request) messages
1537 received by the interface per second [ipv6IfIcmpInEchos].
1538 .RE
1539
1540 .B iechr6/s
1541 .RS
1542 The number of ICMP Echo Reply messages received
1543 by the interface per second [ipv6IfIcmpInEchoReplies].
1544 .RE
1545
1546 .B oechr6/s
1547 .RS
1548 The number of ICMP Echo Reply messages sent
1549 by the interface per second [ipv6IfIcmpOutEchoReplies].
1550 .RE
1551
1552 .B igmbq6/s
1553 .RS
1554 The number of ICMPv6 Group Membership Query
1555 messages received by the interface per second
1556 [ipv6IfIcmpInGroupMembQueries].
1557 .RE
1558
1559 .B igmbr6/s
1560 .RS
1561 The number of ICMPv6 Group Membership Response messages
1562 received by the interface per second
1563 [ipv6IfIcmpInGroupMembResponses].
1564 .RE
1565
1566 .B ogmbr6/s
1567 .RS
1568 The number of ICMPv6 Group Membership Response
1569 messages sent per second
1570 [ipv6IfIcmpOutGroupMembResponses].
1571 .RE
1572
1573 .B igmbrd6/s
1574 .RS
1575 The number of ICMPv6 Group Membership Reduction messages
1576 received by the interface per second
1577 [ipv6IfIcmpInGroupMembReductions].
1578 .RE
1579
1580 .B ogmbrd6/s
1581 .RS
1582 The number of ICMPv6 Group Membership Reduction
1583 messages sent per second
1584 [ipv6IfIcmpOutGroupMembReductions].
1585 .RE
1586
1587 .B irtsol6/s
1588 .RS
1589 The number of ICMP Router Solicit messages
1590 received by the interface per second
1591 [ipv6IfIcmpInRouterSolicits].
1592 .RE
1593
1594 .B ortsol6/s
1595 .RS
1596 The number of ICMP Router Solicitation messages
1597 sent by the interface per second
1598 [ipv6IfIcmpOutRouterSolicits].
1599 .RE
1600
1601 .B irtad6/s
1602 .RS
1603 The number of ICMP Router Advertisement messages
1604 received by the interface per second
1605 [ipv6IfIcmpInRouterAdvertisements].
1606 .RE
1607
1608 .B inbsol6/s
1609 .RS
1610 The number of ICMP Neighbor Solicit messages
1611 received by the interface per second
1612 [ipv6IfIcmpInNeighborSolicits].
1613 .RE
1614
1615 .B onbsol6/s
1616 .RS
1617 The number of ICMP Neighbor Solicitation
1618 messages sent by the interface per second
1619 [ipv6IfIcmpOutNeighborSolicits].
1620 .RE
1621
1622 .B inbad6/s
1623 .RS
1624 The number of ICMP Neighbor Advertisement
1625 messages received by the interface per second
1626 [ipv6IfIcmpInNeighborAdvertisements].
1627 .RE
1628
1629 .B onbad6/s
1630 .RS
1631 The number of ICMP Neighbor Advertisement
1632 messages sent by the interface per second
1633 [ipv6IfIcmpOutNeighborAdvertisements].
1634 .RE
1635
1636 With the
1637 .B EICMP6
1638 keyword, statistics about ICMPv6 error messages are reported.
1639 Note that ICMPv6 statistics depend on
1640 .BR sadc 's
1641 option "-S IPV6" to be collected.
1642 The following values are displayed (formal SNMP names between
1643 square brackets):
1644
1645 .B ierr6/s
1646 .RS
1647 The number of ICMP messages per second which the interface
1648 received but determined as having ICMP-specific
1649 errors (bad ICMP checksums, bad length, etc.)
1650 [ipv6IfIcmpInErrors]
1651 .RE
1652
1653 .B idtunr6/s
1654 .RS
1655 The number of ICMP Destination Unreachable
1656 messages received by the interface per second
1657 [ipv6IfIcmpInDestUnreachs].
1658 .RE
1659
1660 .B odtunr6/s
1661 .RS
1662 The number of ICMP Destination Unreachable
1663 messages sent by the interface per second
1664 [ipv6IfIcmpOutDestUnreachs].
1665 .RE
1666
1667 .B itmex6/s
1668 .RS
1669 The number of ICMP Time Exceeded messages
1670 received by the interface per second
1671 [ipv6IfIcmpInTimeExcds].
1672 .RE
1673
1674 .B otmex6/s
1675 .RS
1676 The number of ICMP Time Exceeded messages sent
1677 by the interface per second
1678 [ipv6IfIcmpOutTimeExcds].
1679 .RE
1680
1681 .B iprmpb6/s
1682 .RS
1683 The number of ICMP Parameter Problem messages
1684 received by the interface per second
1685 [ipv6IfIcmpInParmProblems].
1686 .RE
1687
1688 .B oprmpb6/s
1689 .RS
1690 The number of ICMP Parameter Problem messages
1691 sent by the interface per second
1692 [ipv6IfIcmpOutParmProblems].
1693 .RE
1694
1695 .B iredir6/s
1696 .RS
1697 The number of Redirect messages received
1698 by the interface per second
1699 [ipv6IfIcmpInRedirects].
1700 .RE
1701
1702 .B oredir6/s
1703 .RS
1704 The number of Redirect messages sent by
1705 the interface by second
1706 [ipv6IfIcmpOutRedirects].
1707 .RE
1708
1709 .B ipck2b6/s
1710 .RS
1711 The number of ICMP Packet Too Big messages
1712 received by the interface per second
1713 [ipv6IfIcmpInPktTooBigs].
1714 .RE
1715
1716 .B opck2b6/s
1717 .RS
1718 The number of ICMP Packet Too Big messages sent
1719 by the interface per second
1720 [ipv6IfIcmpOutPktTooBigs].
1721 .RE
1722
1723 With the
1724 .B UDP6
1725 keyword, statistics about UDPv6 network traffic are reported.
1726 Note that UDPv6 statistics depend on
1727 .BR sadc 's
1728 option "-S IPV6" to be collected.
1729 The following values are displayed (formal SNMP names between
1730 square brackets):
1731
1732 .B idgm6/s
1733 .RS
1734 The total number of UDP datagrams delivered per second to UDP users
1735 [udpInDatagrams].
1736 .RE
1737
1738 .B odgm6/s
1739 .RS
1740 The total number of UDP datagrams sent per second from this
1741 entity [udpOutDatagrams].
1742 .RE
1743
1744 .B noport6/s
1745 .RS
1746 The total number of received UDP datagrams per second for which there
1747 was no application at the destination port [udpNoPorts].
1748 .RE
1749
1750 .B idgmer6/s
1751 .RS
1752 The number of received UDP datagrams per second that could not be
1753 delivered for reasons other than the lack of an application
1754 at the destination port [udpInErrors].
1755 .RE
1756
1757 With the
1758 .B FC
1759 keyword, statistics about fibre channel traffic are reported.
1760 Note that fibre channel statistics depend on
1761 .BR sadc 's
1762 option "-S DISK" to be collected.
1763 The following values are displayed:
1764
1765 .B FCHOST
1766 .RS
1767 Name of the fibre channel host bus adapter (HBA) interface for which statistics are reported.
1768 .RE
1769
1770 .B fch_rxf/s
1771 .RS
1772 The total number of frames received per second.
1773 .RE
1774
1775 .B fch_txf/s
1776 .RS
1777 The total number of frames transmitted per second.
1778 .RE
1779
1780 .B fch_rxw/s
1781 .RS
1782 The total number of transmission words received per second.
1783 .RE
1784
1785 .B fch_txw/s
1786 .RS
1787 The total number of transmission words transmitted per second.
1788 .RE
1789
1790 The
1791 .B ALL
1792 keyword is equivalent to specifying all the keywords above and therefore all the network
1793 activities are reported.
1794 .RE
1795 .RE
1796 .IP "-o [ filename ]"
1797 Save the readings in the file in binary form. Each reading
1798 is in a separate record. The default value of the
1799 .I filename
1800 parameter is the current standard system activity daily data file.
1801 If
1802 .I filename
1803 is a directory instead of a plain file then it is considered as the directory
1804 where the standard system activity daily data files are located.
1805 The -o option is exclusive of the -f option.
1806 All the data available from the kernel are saved in the file (in fact,
1807 .B sar
1808 calls its data collector
1809 .B sadc
1810 with the option "-S ALL".
1811 See
1812 .BR sadc (8)
1813 manual page).
1814 .IP "-P { cpu [,...] | ALL }"
1815 Report per-processor statistics for the specified processor or processors.
1816 Specifying the
1817 .B ALL
1818 keyword reports statistics for each individual processor, and globally for
1819 all processors.
1820 Note that processor 0 is the first processor.
1821 .IP -p
1822 Pretty-print device names. Use this option in conjunction with option -d.
1823 By default names are printed as
1824 .I devM-n
1825 where M and n are the major and minor numbers for the device.
1826 Use of this option displays the names of the devices as they (should) appear
1827 in /dev. Name mappings are controlled by
1828 .IR @SYSCONFIG_DIR@/sysstat.ioconf .
1829 .IP -q
1830 Report queue length and load averages. The following values are displayed:
1831
1832 .B runq-sz
1833 .RS
1834 .RS
1835 Run queue length (number of tasks waiting for run time). 
1836 .RE
1837
1838 .B plist-sz
1839 .RS
1840 Number of tasks in the task list.
1841 .RE
1842
1843 .B ldavg-1
1844 .RS
1845 System load average for the last minute.
1846 The load average is calculated as the average number of runnable or
1847 running tasks (R state), and the number of tasks in uninterruptible
1848 sleep (D state) over the specified interval.
1849 .RE
1850
1851 .B ldavg-5
1852 .RS
1853 System load average for the past 5 minutes.
1854 .RE
1855
1856 .B ldavg-15
1857 .RS
1858 System load average for the past 15 minutes.
1859 .RE
1860
1861 .B blocked
1862 .RS
1863 Number of tasks currently blocked, waiting for I/O to complete.
1864 .RE
1865 .RE
1866 .IP -R
1867 Report memory statistics. The following values are displayed:
1868
1869 .B frmpg/s
1870 .RS
1871 .RS
1872 Number of memory pages freed by the system per second.
1873 A negative value represents a number of pages allocated by the system.
1874 Note that a page has a size of 4 kiB or 8 kiB according to the machine architecture.
1875 .RE
1876
1877 .B bufpg/s
1878 .RS
1879 Number of additional memory pages used as buffers by the system per second.
1880 A negative value means fewer pages used as buffers by the system.
1881 .RE
1882
1883 .B campg/s
1884 .RS
1885 Number of additional memory pages cached by the system per second.
1886 A negative value means fewer pages in the cache.
1887 .RE
1888 .RE
1889 .IP "-r [ ALL ]"
1890 Report memory utilization statistics. The
1891 .B ALL
1892 keyword indicates that all the memory fields should be displayed.
1893 The following values may be displayed:
1894
1895 .B kbmemfree
1896 .RS
1897 .RS
1898 Amount of free memory available in kilobytes.
1899 .RE
1900
1901 .B kbmemused
1902 .RS
1903 Amount of used memory in kilobytes. This does not take into account memory
1904 used by the kernel itself.
1905 .RE
1906
1907 .B %memused
1908 .RS
1909 Percentage of used memory.
1910 .RE
1911
1912 .B kbbuffers
1913 .RS
1914 Amount of memory used as buffers by the kernel in kilobytes.
1915 .RE
1916
1917 .B kbcached
1918 .RS
1919 Amount of memory used to cache data by the kernel in kilobytes.
1920 .RE
1921
1922 .B kbcommit
1923 .RS
1924 Amount of memory in kilobytes needed for current workload. This is an estimate of how much
1925 RAM/swap is needed to guarantee that there never is out of memory.
1926 .RE
1927
1928 .B %commit
1929 .RS
1930 Percentage of memory needed for current workload in relation to the total amount of memory (RAM+swap).
1931 This number may be greater than 100% because the kernel usually overcommits memory.
1932 .RE
1933
1934 .B kbactive
1935 .RS
1936 Amount of active memory in kilobytes (memory that has been used more recently
1937 and usually not reclaimed unless absolutely necessary).
1938 .RE
1939
1940 .B kbinact
1941 .RS
1942 Amount of inactive memory in kilobytes (memory which has been less recently
1943 used. It is more eligible to be reclaimed for other purposes).
1944 .RE
1945
1946 .B kbdirty
1947 .RS
1948 Amount of memory in kilobytes waiting to get written back to the disk.
1949 .RE
1950
1951 .B kbanonpg
1952 .RS
1953 Amount of non-file backed pages in kilobytes mapped into userspace page tables.
1954 .RE
1955
1956 .B kbslab
1957 .RS
1958 Amount of memory in kilobytes used by the kernel to cache data structures for its own use.
1959 .RE
1960
1961 .B kbkstack
1962 .RS
1963 Amount of memory in kilobytes used for kernel stack space.
1964 .RE
1965
1966 .B kbpgtbl
1967 .RS
1968 Amount of memory in kilobytes dedicated to the lowest level of page tables.
1969 .RE
1970
1971 .B kbvmused
1972 .RS
1973 Amount of memory in kilobytes of used virtual address space.
1974 .RE
1975 .RE
1976 .IP -S
1977 Report swap space utilization statistics.
1978 The following values are displayed:
1979
1980 .B kbswpfree
1981 .RS
1982 .RS
1983 Amount of free swap space in kilobytes.
1984 .RE
1985
1986 .B kbswpused
1987 .RS
1988 Amount of used swap space in kilobytes.
1989 .RE
1990
1991 .B %swpused
1992 .RS
1993 Percentage of used swap space.
1994 .RE
1995
1996 .B kbswpcad
1997 .RS
1998 Amount of cached swap memory in kilobytes.
1999 This is memory that once was swapped out, is swapped back in
2000 but still also is in the swap area (if memory is needed it doesn't need
2001 to be swapped out again because it is already in the swap area. This
2002 saves I/O).
2003 .RE
2004
2005 .B %swpcad
2006 .RS
2007 Percentage of cached swap memory in relation to the amount of used swap space.
2008 .RE
2009 .RE
2010 .IP "-s [ hh:mm[:ss] ]"
2011 Set the starting time of the data, causing the
2012 .B sar
2013 command to extract records time-tagged at, or following, the time
2014 specified. The default starting time is 08:00:00.
2015 Hours must be given in 24-hour format. This option can be
2016 used only when data are read from a file (option -f).
2017 .IP "--sadc"
2018 Indicate which data collector is called by
2019 .BR sar .
2020 If the data collector is sought in PATH then enter "which sadc" to
2021 know where it is located.
2022 .IP -t
2023 When reading data from a daily data file, indicate that
2024 .B sar
2025 should display the timestamps in the original local time of
2026 the data file creator. Without this option, the
2027 .B sar
2028 command displays the timestamps in the user's locale time.
2029 .IP "-u [ ALL ]"
2030 Report CPU utilization. The
2031 .B ALL
2032 keyword indicates that all the CPU fields should be displayed.
2033 The report may show the following fields:
2034
2035 .B %user
2036 .RS
2037 .RS
2038 Percentage of CPU utilization that occurred while executing at the user
2039 level (application). Note that this field includes time spent running
2040 virtual processors.
2041 .RE
2042
2043 .B %usr
2044 .RS
2045 Percentage of CPU utilization that occurred while executing at the user
2046 level (application). Note that this field does NOT include time spent
2047 running virtual processors.
2048 .RE
2049
2050 .B %nice
2051 .RS
2052 Percentage of CPU utilization that occurred while executing at the user
2053 level with nice priority.
2054 .RE
2055
2056 .B %system
2057 .RS
2058 Percentage of CPU utilization that occurred while executing at the system
2059 level (kernel). Note that this field includes time spent servicing
2060 hardware and software interrupts.
2061 .RE
2062
2063 .B %sys
2064 .RS
2065 Percentage of CPU utilization that occurred while executing at the system
2066 level (kernel). Note that this field does NOT include time spent servicing
2067 hardware or software interrupts.
2068 .RE
2069
2070 .B %iowait
2071 .RS
2072 Percentage of time that the CPU or CPUs were idle during which
2073 the system had an outstanding disk I/O request.
2074 .RE
2075
2076 .B %steal
2077 .RS
2078 Percentage of time spent in involuntary wait by the virtual CPU
2079 or CPUs while the hypervisor was servicing another virtual processor.
2080 .RE
2081
2082 .B %irq
2083 .RS
2084 Percentage of time spent by the CPU or CPUs to service hardware interrupts.
2085 .RE
2086
2087 .B %soft
2088 .RS
2089 Percentage of time spent by the CPU or CPUs to service software interrupts.
2090 .RE
2091
2092 .B %guest
2093 .RS
2094 Percentage of time spent by the CPU or CPUs to run a virtual processor.
2095 .RE
2096
2097 .B %gnice
2098 .RS
2099 Percentage of time spent by the CPU or CPUs to run a niced guest.
2100 .RE
2101
2102 .B %idle
2103 .RS
2104 Percentage of time that the CPU or CPUs were idle and the system
2105 did not have an outstanding disk I/O request.
2106 .RE
2107
2108 Note: On SMP machines a processor that does not have any activity at all
2109 (0.00 for every field) is a disabled (offline) processor.
2110 .RE
2111 .IP -V
2112 Print version number then exit.
2113 .IP -v
2114 Report status of inode, file and other kernel tables.
2115 The following values are displayed:
2116
2117 .B dentunusd
2118 .RS
2119 .RS
2120 Number of unused cache entries in the directory cache.
2121 .RE
2122
2123 .B file-nr
2124 .RS
2125 Number of file handles used by the system.
2126 .RE
2127
2128 .B inode-nr
2129 .RS
2130 Number of inode handlers used by the system.
2131 .RE
2132
2133 .B pty-nr
2134 .RS
2135 Number of pseudo-terminals used by the system.
2136 .RE
2137 .RE
2138 .IP -W
2139 Report swapping statistics. The following values are displayed:
2140
2141 .B pswpin/s
2142 .RS
2143 .RS
2144 Total number of swap pages the system brought in per second.
2145 .RE
2146
2147 .B pswpout/s
2148 .RS
2149 Total number of swap pages the system brought out per second.
2150 .RE
2151 .RE
2152 .IP -w
2153 Report task creation and system switching activity.
2154
2155 .B proc/s
2156 .RS
2157 .RS
2158 Total number of tasks created per second.
2159 .RE
2160
2161 .B cswch/s
2162 .RS
2163 Total number of context switches per second.
2164 .RE
2165 .RE
2166 .IP -y
2167 Report TTY devices activity. The following values are displayed:
2168
2169 .B rcvin/s
2170 .RS
2171 .RS
2172 Number of receive interrupts per second for current serial line. Serial line number
2173 is given in the TTY column.
2174 .RE
2175
2176 .B xmtin/s
2177 .RS
2178 Number of transmit interrupts per second for current serial line.
2179 .RE
2180
2181 .B framerr/s
2182 .RS
2183 Number of frame errors per second for current serial line.
2184 .RE
2185
2186 .B prtyerr/s
2187 .RS
2188 Number of parity errors per second for current serial line.
2189 .RE
2190
2191 .B brk/s
2192 .RS
2193 Number of breaks per second for current serial line.
2194 .RE
2195
2196 .B ovrun/s
2197 .RS
2198 Number of overrun errors per second for current serial line.
2199 .RE
2200 .RE
2201
2202 .SH ENVIRONMENT
2203 The
2204 .B sar
2205 command takes into account the following environment variables:
2206
2207 .IP S_COLORS
2208 When this variable is set, display statistics in color on the terminal.
2209 Possible values for this variable are
2210 .IR never ,
2211 .IR always 
2212 or
2213 .IR auto
2214 (the latter is the default).
2215
2216 Please note that the color (being red, yellow, or some other color) used to display a value
2217 is not indicative of any kind of issue simply because of the color. It only indicates different
2218 ranges of values.
2219
2220 .IP S_COLORS_SGR
2221 Specify the colors and other attributes used to display statistics on the terminal. 
2222 Its value is a colon-separated list of capabilities that defaults to
2223 .BR C=36;22:H=31;1:I=32;22:M=34;1:N=33;1:R=31;22:Z=33;22 .
2224 Supported capabilities are:
2225
2226 .RS
2227 .TP
2228 .B C=
2229 SGR (Select Graphic Rendition) substring for comments inserted in the binary daily
2230 data files.
2231
2232 .TP
2233 .B H=
2234 SGR substring for percentage values greater than or equal to 75%.
2235
2236 .TP
2237 .B I=
2238 SGR substring for item names or values (eg. network interfaces, CPU number...)
2239
2240 .TP
2241 .B M=
2242 SGR substring for percentage values in the range from 50% to 75%.
2243
2244 .TP
2245 .B N=
2246 SGR substring for non-zero statistics values.
2247
2248 .TP
2249 .B R=
2250 SGR substring for restart messages.
2251
2252 .TP
2253 .B Z=
2254 SGR substring for zero values.
2255 .RE
2256
2257 .IP S_TIME_DEF_TIME
2258 If this variable exists and its value is
2259 .B UTC
2260 then
2261 .B sar
2262 will save its data in UTC time (data will still be displayed in local time).
2263 .B sar
2264 will also use UTC time instead of local time to determine the current daily
2265 data file located in the
2266 .IR @SA_DIR@
2267 directory. This variable may be useful for servers with users located across
2268 several timezones.
2269
2270 .IP S_TIME_FORMAT
2271 If this variable exists and its value is
2272 .B ISO
2273 then the current locale will be ignored when printing the date in the report header.
2274 The
2275 .B sar
2276 command will use the ISO 8601 format (YYYY-MM-DD) instead.
2277 The timestamp will also be compliant with ISO 8601 format.
2278 .SH EXAMPLES
2279 .B sar -u 2 5
2280 .RS
2281 Report CPU utilization for each 2 seconds. 5 lines are displayed.
2282 .RE
2283
2284 .B sar -I 14 -o int14.file 2 10
2285 .RS
2286 Report statistics on IRQ 14 for each 2 seconds. 10 lines are displayed.
2287 Data are stored in a file called
2288 .IR int14.file .
2289 .RE
2290
2291 .B sar -r -n DEV -f @SA_DIR@/sa16
2292 .RS
2293 Display memory and network statistics saved in daily data file 'sa16'.
2294 .RE
2295
2296 .B sar -A
2297 .RS
2298 Display all the statistics saved in current daily data file.
2299 .SH BUGS
2300 .I /proc
2301 filesystem must be mounted for the
2302 .B sar
2303 command to work.
2304
2305 All the statistics are not necessarily available, depending on the kernel version used.
2306 .B sar
2307 assumes that you are using at least a 2.6 kernel.
2308 .SH FILES
2309 .I @SA_DIR@/saDD
2310 .br
2311 .I @SA_DIR@/saYYYYMMDD
2312 .RS
2313 The standard system activity daily data files and their default location.
2314 YYYY stands for the current year, MM for the current month and DD for the
2315 current day.
2316
2317 .RE
2318 .I /proc
2319 and
2320 .I /sys
2321 contain various files with system statistics.
2322 .SH AUTHOR
2323 Sebastien Godard (sysstat <at> orange.fr)
2324 .SH SEE ALSO
2325 .BR sadc (8),
2326 .BR sa1 (8),
2327 .BR sa2 (8),
2328 .BR sadf (1),
2329 .BR pidstat (1),
2330 .BR mpstat (1),
2331 .BR iostat (1),
2332 .BR vmstat (8)
2333
2334 .I http://pagesperso-orange.fr/sebastien.godard/