[perf-discuss] Speaking of kstat

2008-04-21 Thread rickey c weisner
I was trying compare kstat -p -n vminfo with vmstat output regarding swap and free. The numbers of course did not match even after pages were converted into KB. So I looked at the source for vmstat and saw that the vminfo numbers were being divided by something called updates. I found updates in

Re: [perf-discuss] about kstat

2008-04-21 Thread adrian cockcroft
And when you look at what it takes to make kstat do anything useful in C (its clever and efficient but not simple), you might want to check out the SE toolkit (see sunfreeware.com or sourceforge) which will let you get at any kstat info in raw or cooked form in about 5 lines of C-like code. Adrian

Re: [perf-discuss] about kstat

2008-04-21 Thread Richard McDougall
We have a great chapter in solaris performance and tools about programming kstat... Richard On Apr 19, 2008, at 18:42, "Rayson Ho" <[EMAIL PROTECTED]> wrote: > Have you read: > > http://developers.sun.com/solaris/articles/kstatc.html > http://developers.sun.com/solaris/articles/kstat_part2.h