Code:
root@maelcum:~ # zpool iostat
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
zroot 1.34G 50.2G 0 23 274 220K
The "operations read/write" statistics are the number of IO operations. Run it with an interval of 1 second:
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
{....}
Thanks,
I use :
dd if=/dev/zero of=/p-2/test.iso bs=128K count=80000 conv=fdatasync
and my output is :
capacity operations bandwidth
pool alloc free read write read write
-------------------------- ----- ----- ----- ----- ----- -----
p-2 34.6G 10.8T 0 419 0 25.5M
mirror 17.3G 5.42T 0 209 0 10.1M
wwn-0x5000 - - 0 104 0 5.05M
wwn-0x5000c5008d6 - - 0 104 0 5.05M
mirror 17.3G 5.42T 0 209 0 15.4M
wwn-0x5000c5008d6 - - 0 104 0 7.70M
wwn-0x5000c5008d - - 0 104 0 7.70M
-------------------------- ----- ----- ----- ----- ----- -----
is Total my IOPS is 104?