From 410921241d00d9e6e48d6e544ab5fbf2f642a72d Mon Sep 17 00:00:00 2001 From: Hajo Möller Date: Sun, 24 May 2015 20:22:55 +0200 Subject: Add -y option to `zpool iostat` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Brian Behlendorf Closes #3439 --- man/man8/zpool.8 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'man/man8') 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 -- cgit v1.2.3