summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-05-04 09:02:55 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-05-04 09:02:55 +0000
commita22baeec2285142cc4a94f0362d03b1d38102deb (patch)
treed9118873ff9b1ec6a219dc99c70f4ab7060520c4 /usr.sbin
parente1465791e559f6616511677c7b5d832d421be584 (diff)
sort options + sync usage;
add a bit of indent whilst here;
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sa/main.c6
-rw-r--r--usr.sbin/sa/sa.818
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