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