diff options
author | maxim <maxim@FreeBSD.org> | 2006-04-16 22:23:39 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2006-04-16 22:23:39 +0000 |
commit | c6cab9cc4821e37f776ac01cb7a920b0c3428238 (patch) | |
tree | 28fbbd400afef6293d7c8c9726d7b465d613fcf6 /usr.sbin/iostat/iostat.8 | |
parent | 4a3ab050f7810df3bf3af7566f7cf491870076ce (diff) | |
download | FreeBSD-src-c6cab9cc4821e37f776ac01cb7a920b0c3428238.zip FreeBSD-src-c6cab9cc4821e37f776ac01cb7a920b0c3428238.tar.gz |
o Implement Solaris-like -x flag: show extended disk statistics.
o Implement Solaris-like -z flag: omit lines for devices with no activity.
o iostat.8: describe -x and -z flags, Xr devstat(3), touch .Dd.
PR: mostly bin/68840, with style changes; bin/73327
Submitted by: Dan Nelson, Peter Schuller
Obtained from: NetBSD (a part of man page)
MFC after: 1 month
Diffstat (limited to 'usr.sbin/iostat/iostat.8')
-rw-r--r-- | usr.sbin/iostat/iostat.8 | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/usr.sbin/iostat/iostat.8 b/usr.sbin/iostat/iostat.8 index be66c7c..8aeb833 100644 --- a/usr.sbin/iostat/iostat.8 +++ b/usr.sbin/iostat/iostat.8 @@ -60,7 +60,7 @@ .\" .\" @(#)iostat.8 8.1 (Berkeley) 6/6/93 .\" -.Dd December 22, 1997 +.Dd April 17, 2006 .Dt IOSTAT 8 .Os .Sh NAME @@ -70,7 +70,7 @@ statistics .Sh SYNOPSIS .Nm -.Op Fl CdhKIoT?\& +.Op Fl CdhKIoTxz?\& .Op Fl c Ar count .Op Fl M Ar core .Op Fl n Ar devs @@ -239,6 +239,13 @@ seconds between each display. If no repeat .Ar count is specified, the default is infinity. +.It Fl x +Show extended disk statistics. +Each disk is displayed on a line of its own with all available statistics. +.It Fl z +If +.Fl x +is specified, omit lines for devices with no activity. .It Fl ?\& Display a usage statement and exit. .El @@ -313,6 +320,29 @@ total number of transfers total number of megabytes transferred .El .Pp +The extended +.Nm +device display, with the +.Fl x +flag specified, shows the following statistics: +.Pp +.Bl -tag -width indent -compact +.It r/s +read operations per second +.It w/s +write operations per second +.It kr/s +kilobytes read per second +.It kw/s +kilobytes write per second +.It wait +transactions queue length +.It svc_t +average duration of transactions, in milliseconds +.It %b +% of time the device had one or more outstanding transactions +.El +.Pp The old-style .Nm display (using @@ -414,6 +444,7 @@ flags are given, the TTY and CPU displays will be displayed. .Xr nfsstat 1 , .Xr ps 1 , .Xr systat 1 , +.Xr devstat 3 , .Xr gstat 8 , .Xr pstat 8 , .Xr vmstat 8 |