[zfs-discuss] RFE: parsable iostat and zpool layout

2009-01-30 Thread Pål Baltzersen
I would like zpool iostat to take a -p option to output parsable statistics 
with absolute counters/figures that for example could be fed to MRTG, RRD, et 
al.
The zpool iostat [-v] POOL 60 [N] is great for humans but not very 
api-friendly; N=2 is a bit overkill and unreliable. Is this info available in 
kstat, or is this an RFE candidate? In Solaris10?

Ditto for zpool status, a -p option and/or a zpool show|get layout [-p] or 
similar, would ease scripting and parsing of pool/vdev/disk configurations. Now 
parsing zpool iostat -v [POOL] with awk or perl seem like the easiest 
workaround and overkill. Any better ideas? In Solaris10? Also an RFE candidate?
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] RFE: parsable iostat and zpool layout

2009-01-30 Thread Mark J Musante
Hi Pål,

CR 6420274 covers the -p part of your question.  As far as kstats go, we only 
have them in the arc and the vdev read-ahead cache.


Regards,
markm
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss