On Sun, Jan 18, 2009 at 9:21 AM, Carson Gaspar <car...@taltos.org> wrote:
>
> If you write your own using kstat, you can get accurate sub-second
> samples. Sadly you'll either have to use the amazingly crappy Sun perl
> or write it in C, as Sun hasn't yet managed to release source for the
> kstat perl module (unless it happened while I wasn't looking...)

That's been out forever. See:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/

Or, if you're interested in java I can plug the OpenSolaris project JKstat,
kept up to date here:

http://www.petertribble.co.uk/Solaris/jkstat.html

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to