Kb' means kilobits,
Mb' means megabits. Since we're talking about bytes,
not bits, use the uppercase `B' when reporting statistics, and be explicit about it where appropriate. Noticed by J.T.
This commit is contained in:
parent
2ea1f6b673
commit
c847b03d13
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: iostat.8,v 1.9 1996/05/10 23:20:28 thorpej 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.
|
||||
@ -142,11 +142,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
|
||||
@ -154,7 +154,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
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: iostat.c,v 1.9 1996/05/10 23:20:29 thorpej Exp $ */
|
||||
/* $NetBSD: iostat.c,v 1.10 1996/10/25 18:21:58 scottr Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 John M. Vinopal
|
||||
@ -75,7 +75,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 */
|
||||
@ -238,14 +238,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");
|
||||
|
Loading…
Reference in New Issue
Block a user