summaryrefslogtreecommitdiff
path: root/usr.sbin/iostat
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-11-02 00:35:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-11-02 00:35:51 +0000
commit397fea5e5923ad519bc367a753166781618a9618 (patch)
treea396c236629d6360243571dd625a1639dd53bad0 /usr.sbin/iostat
parent2aab0af8eafdfa38700e2b22cf4ff490ef377d0a (diff)
"K" and "Kb" -> "KB" as well as "Mb" -> "MB" so people don't get confused
and thing we are talking about *bits as opposed to *bytes. From NetBSD.
Diffstat (limited to 'usr.sbin/iostat')
-rw-r--r--usr.sbin/iostat/iostat.810
-rw-r--r--usr.sbin/iostat/iostat.c12
2 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/iostat/iostat.8 b/usr.sbin/iostat/iostat.8
index 47702ded596..f25f5eefa32 100644
--- a/usr.sbin/iostat/iostat.8
+++ b/usr.sbin/iostat/iostat.8
@@ -1,5 +1,5 @@
-.\" $OpenBSD: iostat.8,v 1.6 1996/10/08 01:21:01 michaels Exp $
-.\" $NetBSD: iostat.8,v 1.9 1996/05/10 23:20:28 thorpej Exp $
+.\" $OpenBSD: iostat.8,v 1.7 1996/11/02 00:35:50 millert Exp $
+.\" $NetBSD: iostat.8,v 1.10 1996/10/25 18:21:57 scottr Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -143,11 +143,11 @@ to display specific drives, their names may be supplied on the command
line.
.Pp
.Bl -tag -width indent -compact
-.It K/t
+.It KB/t
Kilobytes transferred per disk transfer
.It t/s
transfers per second
-.It Mb/s
+.It MB/s
Megabytes transferred per second
.Pp
.El
@@ -155,7 +155,7 @@ The alternate display format, (selected with
.Fl D
), presents the following values.
.Bl -tag -width indent -compact
-.It Kb
+.It KB
Kilobytes transferred
.It xfr
Disk transfers
diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c
index 5247387765d..a591e568729 100644
--- a/usr.sbin/iostat/iostat.c
+++ b/usr.sbin/iostat/iostat.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: iostat.c,v 1.4 1996/08/11 22:32:42 niklas Exp $ */
-/* $NetBSD: iostat.c,v 1.9 1996/05/10 23:20:29 thorpej Exp $ */
+/* $OpenBSD: iostat.c,v 1.5 1996/11/02 00:35:50 millert Exp $ */
+/* $NetBSD: iostat.c,v 1.10 1996/10/25 18:21:58 scottr Exp $ */
/*
* Copyright (c) 1996 John M. Vinopal
@@ -76,7 +76,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)iostat.c 8.2 (Berkeley) 1/26/94";
#else
-static char *rcsid = "$NetBSD: iostat.c,v 1.9 1996/05/10 23:20:29 thorpej Exp $"
+static char *rcsid = "$NetBSD: iostat.c,v 1.10 1996/10/25 18:21:58 scottr Exp $"
;
#endif
#endif /* not lint */
@@ -239,14 +239,14 @@ header(signo)
for (i = 0; i < dk_ndrive; i++)
if (cur.dk_select[i])
if (ISSET(todo, SHOW_TOTALS))
- (void)printf(" K/t xfr Mb ");
+ (void)printf(" KB/t xfr MB ");
else
- (void)printf(" K/t t/s Mb/s ");
+ (void)printf(" KB/t t/s MB/s ");
if (ISSET(todo, SHOW_STATS_2))
for (i = 0; i < dk_ndrive; i++)
if (cur.dk_select[i])
- (void)printf(" Kb xfr time ");
+ (void)printf(" KB xfr time ");
if (ISSET(todo, SHOW_CPU))
(void)printf(" us ni sy in id");