summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-12-19 12:27:01 +0000
committertrasz <trasz@FreeBSD.org>2016-12-19 12:27:01 +0000
commitcd597b8cb2598b40e7300a3a6bcb7379fbd8202f (patch)
tree310bbd0af6ebe2a68bdccd28aeb845f30d3b9d98
parent104ec22abcafce94c70775ffd7f3708023a36fe0 (diff)
downloadFreeBSD-src-cd597b8cb2598b40e7300a3a6bcb7379fbd8202f.zip
FreeBSD-src-cd597b8cb2598b40e7300a3a6bcb7379fbd8202f.tar.gz
MFC r306095:
Make the "r/s" and "w/s" fields in "iostat -x" a little bit wider; five chars is way too narrow for todays disks.
-rw-r--r--usr.sbin/iostat/iostat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c
index e9229e9..69882f1 100644
--- a/usr.sbin/iostat/iostat.c
+++ b/usr.sbin/iostat/iostat.c
@@ -807,7 +807,7 @@ devstats(int perf_select, long double etime, int havelast)
printf(" cpu ");
printf("\n");
if (Iflag == 0) {
- printf("device r/s w/s kr/s kw/s "
+ printf("device r/s w/s kr/s kw/s "
" ms/r ms/w ms/o ms/t qlen %%b ");
} else {
printf("device r/i w/i kr/i"
@@ -884,7 +884,7 @@ devstats(int perf_select, long double etime, int havelast)
mb_per_second_write > ((long double).0005)/1024 ||
busy_pct > 0.5) {
if (Iflag == 0)
- printf("%-8.8s %5d %5d %8.1Lf "
+ printf("%-8.8s %7d %7d %8.1Lf "
"%8.1Lf %5d %5d %5d %5d "
"%4" PRIu64 " %3.0Lf ",
devicename,
OpenPOWER on IntegriCloud