to enter 'iostat -px 2 5' since no device name is given to
option -p. This also concerns pidstat option -U.
* Typos fixed. README file updated.
- * Yet another cosmetic fix in pidstat manual page.
+ * Yet another cosmetic fix in pidstat manual page. Sar manual
+ page updated.
2013/03/31: Version 10.1.5 - Sebastien Godard (sysstat <at> orange.fr)
* mpstat now takes into account every interrupt per processor
-.TH SAR 1 "SEPTEMBER 2012" Linux "Linux User's Manual" -*- nroff -*-
+.TH SAR 1 "MAY 2013" Linux "Linux User's Manual" -*- nroff -*-
.SH NAME
sar \- Collect, report, or save system activity information.
.SH SYNOPSIS
.RS
Number of memory pages freed by the system per second.
A negative value represents a number of pages allocated by the system.
-Note that a page has a size of 4 kB or 8 kB according to the machine architecture.
+Note that a page has a size of 4 kiB or 8 kiB according to the machine architecture.
.RE
.B bufpg/s
.RE
.RE
.IP -y
-Report TTY device activity. The following values are displayed:
+Report TTY devices activity. The following values are displayed:
.B rcvin/s
.RS
unsigned int opt_flags;
/*
* Buffers that will contain the statistics read. Its size is @nr * @size each.
- * [0]: used by sadc. Used by sar to save first collected stats (used later to
+ * [0]: used by sadc.
+ * [0] and [1]: current/previous statistics values (used by sar).
+ * [2]: Used by sar to save first collected stats (used later to
* compute average).
- * [1] and [2]: current/previous statistics values (used by sar).
*/
void *buf[3];
/*
if ((n = get_usb_nr()) >= 0)
/* Return a positive number even if no USB devices have been found */
- return (n + NR_USB_PREALLOC);
+ return n + NR_USB_PREALLOC;
return 0;
}
printf(_("Main options and reports:\n"));
printf(_("\t-b\tI/O and transfer rate statistics\n"));
printf(_("\t-B\tPaging statistics\n"));
- printf(_("\t-d\tBlock device statistics\n"));
+ printf(_("\t-d\tBlock devices statistics\n"));
printf(_("\t-F\tFilesystems statistics\n"));
printf(_("\t-H\tHugepages utilization statistics\n"));
printf(_("\t-I { <int> | SUM | ALL | XALL }\n"
printf(_("\t-S\tSwap space utilization statistics\n"));
printf(_("\t-u [ ALL ]\n"
"\t\tCPU utilization statistics\n"));
- printf(_("\t-v\tKernel table statistics\n"));
+ printf(_("\t-v\tKernel tables statistics\n"));
printf(_("\t-w\tTask creation and system switching statistics\n"));
printf(_("\t-W\tSwapping statistics\n"));
- printf(_("\t-y\tTTY device statistics\n"));
+ printf(_("\t-y\tTTY devices statistics\n"));
exit(0);
}