Are you looking for something like:

kstat -c disk sd:::

Someone can correct me if I'm wrong, but I think the documentation for
the above should be at:

http://src.opensolaris.org/source/xref/zfs-crypto/gate/usr/src/uts/common/avs/ns/sdbc/cache_kstats_readme.txt

I'm not sure about the file i/o vs disk i/o, but would love to hear
how to measure it.

Thomas

On Sat, Jan 17, 2009 at 4:07 AM, Brad <bst...@aspirinsoftware.com> wrote:
> I'd like to track a server's ZFS pool I/O throughput over time. What's a good 
> data source to use for this? I like zpool iostat for this, but if I poll at 
> two points in time I would get a number since boot (e.g. 1.2M) and a current 
> number (e.g. 1.3K). If I use the current number then I've lost data between 
> polling intervals. But if I use the number since boot it's not precise enough 
> to be useful.
>
> Is there a kstat equivalent to the I/O since boot? Some other good data 
> source?
>
> And then is there a similar kstat equivalent to iostat? Would both data 
> values then allow me to trend file i/O versus physical disk I/O?
>
> Thanks.
> --
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to