diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sa/main.c | 6 | ||||
-rw-r--r-- | usr.sbin/sa/sa.8 | 18 |
2 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/sa/main.c b/usr.sbin/sa/main.c index 0fcc3a96e13..c0342d81173 100644 --- a/usr.sbin/sa/main.c +++ b/usr.sbin/sa/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.9 2002/05/30 18:47:44 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.10 2005/05/04 09:02:54 jmc Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou * All rights reserved. @@ -34,7 +34,7 @@ static char copright[] = "@(#) Copyright (c) 1994 Christopher G. Demetriou\n\ All rights reserved.\n"; -static char rcsid[] = "$Id: main.c,v 1.9 2002/05/30 18:47:44 deraadt Exp $"; +static char rcsid[] = "$Id: main.c,v 1.10 2005/05/04 09:02:54 jmc Exp $"; #endif /* @@ -169,7 +169,7 @@ main(int argc, char **argv) case '?': default: (void)fprintf(stderr, - "usage: %s [-abcdDfijkKlmnqrstu] [-v cutoff]" + "usage: %s [-abcDdfijKklmnqrstu] [-v cutoff]" " [file ...]\n", __progname); exit(1); } diff --git a/usr.sbin/sa/sa.8 b/usr.sbin/sa/sa.8 index 639a3b09fe6..749c385707c 100644 --- a/usr.sbin/sa/sa.8 +++ b/usr.sbin/sa/sa.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sa.8,v 1.12 2003/06/12 12:59:53 jmc Exp $ +.\" $OpenBSD: sa.8,v 1.13 2005/05/04 09:02:54 jmc Exp $ .\" .\" Copyright (c) 1994 Christopher G. Demetriou .\" All rights reserved. @@ -28,7 +28,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: sa.8,v 1.12 2003/06/12 12:59:53 jmc Exp $ +.\" $Id: sa.8,v 1.13 2005/05/04 09:02:54 jmc Exp $ .\" .Dd February 25, 1994 .Dt SA 8 @@ -38,7 +38,7 @@ .Nd print system accounting statistics .Sh SYNOPSIS .Nm sa -.Op Fl abcdDfijkKlmnqrstu +.Op Fl abcDdfijKklmnqrstu .Op Fl v Ar cutoff .Op Ar .Sh DESCRIPTION @@ -75,7 +75,7 @@ Only one report is printed, after the last file is processed. The labels used in the output indicate the following, except where otherwise specified by individual options: .Pp -.Bl -tag -width k*sec -compact +.Bl -tag -width k*sec -compact -offset indent .It Dv avio Average number of I/O operations per execution. .It Dv cp @@ -113,14 +113,14 @@ time divided by number of calls. .It Fl c In addition to the number of calls and the user, system and real times for each command, print their percentage of the total over all commands. +.It Fl D +If printing command statistics, sort and print by the total number +of disk I/O operations. .It Fl d If printing command statistics, sort by the average number of disk I/O operations. If printing user statistics, print the average number of disk I/O operations per user. -.It Fl D -If printing command statistics, sort and print by the total number -of disk I/O operations. .It Fl f Force no interactive threshold comparison with the .Fl v @@ -129,12 +129,12 @@ option. Do not read in the summary files. .It Fl j Instead of the total minutes per category, give seconds per call. +.It Fl K +If printing command statistics, print and sort by the CPU-storage integral. .It Fl k If printing command statistics, sort by the CPU time average memory usage. If printing user statistics, print the CPU time average memory usage. -.It Fl K -If printing command statistics, print and sort by the CPU-storage integral. .It Fl l Separate system and user time; normally they are combined. .It Fl m |