-.TH SAR 1 "OCTOBER 2010" Linux "Linux User's Manual" -*- nroff -*-
+.TH SAR 1 "JUNE 2012" Linux "Linux User's Manual" -*- nroff -*-
.SH NAME
sar \- Collect, report, or save system activity information.
.SH SYNOPSIS
.I filename
.B ] | -f [
.I filename
-.B ] ] [ -s [
+.B ] | -[0-9]+ ] [ -s [
.I hh:mm:ss
.B ] ] [ -e [
.I hh:mm:ss
saved in a file. This file can be either the one specified by the
.B -f
flag or, by default, the standard system activity daily data file.
+It is also possible to enter -1, -2 etc. as an argument to sar to
+display data
+of that days ago. For example, -1 will point at the standard system
+activity file of yesterday.
Without the
.B -P
flags. Not specifying any flags selects only CPU activity.
Specifying the
.B -A
-flag is equivalent to specifying
-.BR "-bBdqrRSvwWy -I SUM -I XALL -n ALL -u ALL -P ALL".
+flag selects all possible activities.
The default version of the
.B sar
.BR CPU ,
.BR FAN ,
.BR FREQ ,
-.BR IN
+.BR IN ,
+.BR TEMP
and
-.BR TEMP .
+.BR USB .
With the
.B CPU
.RS
Sensor device name.
.RE
+
+With the
+.B USB
+keyword, the
+.B sar
+command takes a snapshot of all the USB devices currently plugged into
+the system. At the end of the report,
+.B sar
+will display a summary of all those USB devices.
+The following values are displayed:
+
+.B BUS
+.RS
+Root hub number of the USB device.
+.RE
+
+.B idvendor
+.RS
+Vendor ID number (assigned by USB organization).
+.RE
+
+.B idprod
+.RS
+Product ID number (assigned by Manufacturer).
+.RE
+
+.B maxpower
+.RS
+Maximum power consumption of the device (expressed in mA).
+.RE
+
+.B manufact
+.RS
+Manufacturer name.
+.RE
+
+.B product
+.RS
+Product name.
+.RE
.RE
.IP "-n { keyword [,...] | ALL }"
Report network statistics.
.B ip-frag
.RS
-Number of IP fragments currently in use.
+Number of IP fragments currently in queue.
.RE
.B tcp-tw
.RS
System load average for the past 15 minutes.
.RE
+
+.B blocked
+.RS
+Number of tasks currently blocked, waiting for I/O to complete.
+.RE
.RE
.IP -r
Report memory utilization statistics.
.RS
Percentage of memory needed for current workload in relation to the total amount of memory (RAM+swap).
This number may be greater than 100% because the kernel usually overcommits memory.
+.RE
+.B kbactive
+.RS
+Amount of active memory in kilobytes (memory that has been used more recently
+and usually not reclaimed unless absolutely necessary).
+.RE
+
+.B kbinact
+.RS
+Amount of inactive memory in kilobytes (memory which has been less recently
+used. It is more eligible to be reclaimed for other purposes).
.RE
.RE
.IP -R