diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2013-06-04 21:14:29 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2013-06-04 21:14:29 +0000 |
commit | d1624530c9725e5c2e42b4f41d84200cdbaa0113 (patch) | |
tree | e042583595d16fa5b69789663eaf8ebbddb21258 /usr.sbin | |
parent | 1bae6cab2a9afb4e46b924ba5eb62e2499ffe888 (diff) |
not sure who uses the "alternate" display, but the columns look like ass
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/iostat/iostat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c index 1a319174545..149e6d4378f 100644 --- a/usr.sbin/iostat/iostat.c +++ b/usr.sbin/iostat/iostat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iostat.c,v 1.28 2012/06/26 21:37:59 tedu Exp $ */ +/* $OpenBSD: iostat.c,v 1.29 2013/06/04 21:14:28 tedu Exp $ */ /* $NetBSD: iostat.c,v 1.10 1996/10/25 18:21:58 scottr Exp $ */ /* @@ -236,7 +236,7 @@ header(void) 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"); @@ -291,7 +291,7 @@ disk_stats2(double etime) continue; /* average kbytes per second. */ - (void)printf(" %4.0f", + (void)printf(" %6.0f", (cur.dk_rbytes[dn] + cur.dk_wbytes[dn]) / (1024.0) / etime); /* average transfers per second. */ |