HiYou can only get the IOPS for the whole pool or each individual physical disk. Not individual volumes or datasets within a pool.
ok, so do you say to me how i get IOPS with zpool iostat statistics outputs?
root@maelcum:~ # zpool iostat
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
zroot 1.34G 50.2G 0 23 274 220K
root@maelcum:~ # zpool iostat 1
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
zroot 1.34G 50.2G 0 23 274 220K
zroot 1.34G 50.2G 0 0 0 0
zroot 1.34G 50.2G 0 0 0 0
zroot 1.34G 50.2G 0 0 0 0
zroot 1.34G 50.2G 0 122 0 1.05M
zroot 1.34G 50.2G 0 0 0 0
zroot 1.34G 50.2G 0 0 0 0
zroot 1.34G 50.2G 0 0 0 0
zroot 1.34G 50.2G 0 0 0 0
zroot 1.34G 50.2G 0 127 0 1.05M
{....}
The "operations read/write" statistics are the number of IO operations. Run it with an interval of 1 second:Code:root@maelcum:~ # zpool iostat capacity operations bandwidth pool alloc free read write read write ---------- ----- ----- ----- ----- ----- ----- zroot 1.34G 50.2G 0 23 274 220K
Code:root@maelcum:~ # zpool iostat 1 capacity operations bandwidth pool alloc free read write read write ---------- ----- ----- ----- ----- ----- ----- zroot 1.34G 50.2G 0 23 274 220K zroot 1.34G 50.2G 0 0 0 0 zroot 1.34G 50.2G 0 0 0 0 zroot 1.34G 50.2G 0 0 0 0 zroot 1.34G 50.2G 0 122 0 1.05M zroot 1.34G 50.2G 0 0 0 0 zroot 1.34G 50.2G 0 0 0 0 zroot 1.34G 50.2G 0 0 0 0 zroot 1.34G 50.2G 0 0 0 0 zroot 1.34G 50.2G 0 127 0 1.05M {....}