I blogged recently [1] about getting ksysguard to work correctly again on 
Solaris. Load average works, and swap memory uses swapctl(SA_AINFO) which 
produces pretty meaningless results unless you're under very heavy memory 
pressure, so there are pretty blue graphs.

What's missing is the monitors for CPU load and physical memory use. These 
are:

cpu/nice
cpu/user
cpu/sys
cpu/wait

mem/physical/buf
mem/physical/cached
mem/physical/application

Now, those are recognizably Linux flavored, but if we can implement a 
meaningful subset of them then the default ksysguard look will be at least 
somewhat informative to a Solaris desktop user. I'm soliciting code that 
returns these numbers. The CPU numbers should be percentages.

Are the kstats from cpu_state for kernel, idle and user meaningful in this 
way? If so, I can just follow the existing code and use kstat. I'm not so sure 
about physical memory vm stats, though.

Reply via email to