diff options
author | yar <yar@FreeBSD.org> | 2010-11-24 00:05:19 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2010-11-24 00:05:19 +0000 |
commit | b886db4a4b99722a03c2fe8fcaaf203c784dede4 (patch) | |
tree | 3110c533baeca1a2687a99a0e39fbbd5166bb253 /usr.sbin/iostat/iostat.8 | |
parent | 7377de8f916e2389e9f1c47ca8f7de558aaca6ef (diff) | |
download | FreeBSD-src-b886db4a4b99722a03c2fe8fcaaf203c784dede4.zip FreeBSD-src-b886db4a4b99722a03c2fe8fcaaf203c784dede4.tar.gz |
Clarify a few details about iostat(8) behavior:
- The default repeat count for iostat(8) is 1 unless there
was a -w on the command line.
- A -x display doesn't include TTY or CPU stats by default
but they can be turned on with a -T or -C, respectively.
Submitted by: arundel (initial version)
Reviewed by: arundel
MFC after: 1 week
Diffstat (limited to 'usr.sbin/iostat/iostat.8')
-rw-r--r-- | usr.sbin/iostat/iostat.8 | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/usr.sbin/iostat/iostat.8 b/usr.sbin/iostat/iostat.8 index 69fadcf..aab668a 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 April 17, 2006 +.Dd November 24, 2010 .Dt IOSTAT 8 .Os .Sh NAME @@ -102,11 +102,18 @@ Repeat the display times. If no repeat .Ar count -is specified, the default is infinity. +is specified, the default depends on whether +.Fl w +is specified. +With +.Fl w +the default repeat count is infinity, otherwise it is 1. .It Fl C Display CPU statistics. This is on by default, unless .Fl d +or +.Fl x is specified. .It Fl d Display only device statistics. @@ -231,6 +238,8 @@ output, up to the number of devices that can be displayed in Display TTY statistics. This is on by default, unless .Fl d +or +.Fl x is specified. .It Fl w Pause @@ -255,6 +264,11 @@ so your mileage may vary. .It Fl x Show extended disk statistics. Each disk is displayed on a line of its own with all available statistics. +If this flag is turned on, only disk statistics will be displayed, unless +.Fl C +or +.Fl T +is also specified to enable the display of CPU or TTY statistics. .It Fl z If .Fl x |