Clarify zpool iostat statistics reporting

Document expected behavior for  zpool iostat statistics reporting.

Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Alek Pinchuk <apinchuk@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Allan Jude <allanjude@freebsd.org>
Signed-off-by: Kash Pande <kash@tripleback.net>
Closes #2888 
Closes #8417
This commit is contained in:
kpande 2019-02-21 14:00:48 -08:00 committed by Brian Behlendorf
parent f23b0242b6
commit f8bb2a7e0c
1 changed files with 9 additions and 4 deletions

View File

@ -1635,10 +1635,15 @@ with no flags on the relevant target devices.
.Oo Oo Ar pool Ns ... Oc Ns | Ns Oo Ar pool vdev Ns ... Oc Ns | Ns Oo Ar vdev Ns ... Oc Oc
.Op Ar interval Op Ar count
.Xc
Displays I/O statistics for the given pools/vdevs. You can pass in a
list of pools, a pool and list of vdevs in that pool, or a list of any
vdevs from any pool. If no items are specified, statistics for every
pool in the system are shown.
Displays logical I/O statistics for the given pools/vdevs. Physical I/Os may
be observed via
.Xr iostat 1 .
If writes are located nearby, they may be merged into a single
larger operation. Additional I/O may be generated depending on the level of
vdev redundancy.
To filter output, you may pass in a list of pools, a pool and list of vdevs
in that pool, or a list of any vdevs from any pool. If no items are specified,
statistics for every pool in the system are shown.
When given an
.Ar interval ,
the statistics are printed every