Richard Elling wrote: ... > Most folks who want performance data collection all day long will > enable accounting and use sar. sar also uses kstats. Or you can > write your own scripts. Or there are a number of third party tools > which will collect long-term stats and provide nice reports or > capacity planning information. Actually, there is a whole book > written on Solaris performance tools: > http://www.amazon.com/dp/0131568191?tag=solarisintern-20&camp=14573&creative=327641&linkCode=as1&creativeASIN=0131568191&adid=049SKSTPKNAJ9EZ23JW1&
Except sar sucks. It's scheduled via cron, and is too coarse grained for many purposes (10 minute long samples average out almost everything interesting). 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...) -- Carson _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss