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 On Sat, Apr 19, 2008 at 8:46 PM, Richard McDougall <[EMAIL PROTECTED]> wrote: > 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.html > > > > ? > > > > Rayson > > > > > > > > On 4/19/08, dark0s <[EMAIL PROTECTED]> wrote: > >> Hi all, I'd like write a little program in C with kstat framework. > >> I would know how can I understand CPU usage and performance with > >> kstat command. > >> > >> Thanks, > >> savio > >> > >> > >> This message posted from opensolaris.org > >> _______________________________________________ > >> perf-discuss mailing list > >> perf-discuss@opensolaris.org > >> > > _______________________________________________ > > perf-discuss mailing list > > perf-discuss@opensolaris.org > _______________________________________________ > perf-discuss mailing list > perf-discuss@opensolaris.org > _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org