Re: [perf-discuss] fetching from kstat per cpu stats, sometimes usr+sys+idle != 100

2009-01-28 Thread Peter Tribble
On Wed, Jan 28, 2009 at 9:56 AM, Stefan Parvu wrote: > Hi, > > I wrote a simple recorder script, similar with mpstat, done in Perl, > using Sun::Solaris::Kstat. The utility is found: > http://www.nbl.fi/~nbl97/solaris/perf/sdr_bin/cpurec062. Based on > Brendan's K9Toolkit, the script uses kstat t

[perf-discuss] fetching from kstat per cpu stats, sometimes usr+sys+idle != 100

2009-01-28 Thread Stefan Parvu
Hi, I wrote a simple recorder script, similar with mpstat, done in Perl, using Sun::Solaris::Kstat. The utility is found: http://www.nbl.fi/~nbl97/solaris/perf/sdr_bin/cpurec062. Based on Brendan's K9Toolkit, the script uses kstat to extract for each cpu found on the system the following informat