summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorHajo Möller <[email protected]>2015-05-24 20:22:55 +0200
committerBrian Behlendorf <[email protected]>2015-06-17 10:39:20 -0700
commit410921241d00d9e6e48d6e544ab5fbf2f642a72d (patch)
tree6ebb9a8f37e8fbf598b75f91251fa045584a0d6a /man
parent8e70975f905935df2a68fb242570056035a52948 (diff)
Add -y option to `zpool iostat`
sysstat's iostat omits the first report when the -y option is used. This patch adds that functionality and omits the first report with statistics since system boot. Signed-off-by: Hajo Möller <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #3439
Diffstat (limited to 'man')
-rw-r--r--man/man8/zpool.815
1 files changed, 13 insertions, 2 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
index abd70c028..68a57a15e 100644
--- a/man/man8/zpool.8
+++ b/man/man8/zpool.8
@@ -94,7 +94,7 @@ zpool \- configures ZFS storage pools
.LP
.nf
-\fBzpool iostat\fR [\fB-T\fR d | u ] [\fB-v\fR] [\fIpool\fR] ... [\fIinterval\fR[\fIcount\fR]]
+\fBzpool iostat\fR [\fB-T\fR d | u ] [\fB-v\fR] [\fB-y\fR] [\fIpool\fR] ... [\fIinterval\fR[\fIcount\fR]]
.fi
.LP
@@ -1608,7 +1608,7 @@ Allows a pool to import when there is a missing log device.
.ne 2
.mk
.na
-\fB\fBzpool iostat\fR [\fB-T\fR \fBd\fR | \fBu\fR] [\fB-v\fR] [\fIpool\fR] ... [\fIinterval\fR[\fIcount\fR]]\fR
+\fB\fBzpool iostat\fR [\fB-T\fR \fBd\fR | \fBu\fR] [\fB-v\fR] [\fB-y\fR] [\fIpool\fR] ... [\fIinterval\fR[\fIcount\fR]]\fR
.ad
.sp .6
.RS 4n
@@ -1637,6 +1637,17 @@ Specify \fBu\fR for a printed representation of the internal representation of t
Verbose statistics. Reports usage statistics for individual \fIvdevs\fR within the pool, in addition to the pool-wide statistics.
.RE
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-y\fR\fR
+.ad
+.RS 12n
+.rt
+Omit statistics since boot. Normally the first line of output reports the statistics since boot. This option suppresses that first line of output.
+.RE
+
.RE
.sp