The counts should add up to 100 - according to page 38 at http://developers.sun.com/solaris/articles/solaris_performanceandtools_ch3_processes.pdf [i]3.2.2 Process Microstates: prstat -m The process microstates can be very useful to help identify why a process or thread is performing suboptimally. By specifying the -m (show microstates) and -L (show per-thread) options, you can observe the per-thread microstates. The microstates represent a time-based summary broken into percentages of each thread. The columns USR through LAT sum to 100% of the time spent for each thread during the prstat sample.[/i] Also, I see the problem with LWPs as well, see below. Thanks for referring the itworld article, I am going to go through that, this should give some idea on how things work inside.
When I use [b]ptstat -mL[/b], I get similar results (see the second line): PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID 15155 nortel 95 4.2 - - - - 0.6 - 8 672 12K 0 compress/1 8330 nortel 2.6 9.6 - - - - 0.0 - 1K 44 9K 0 wam_zapOneGr/1 <-------------- 1 root 0.8 2.3 - - - - 0.0 - 484 14 14K 692 init/1 <-------------- 1357 root 2.7 0.2 - - - - 0.0 - 214 20 1K 0 esd/1 <-------------- 8315 nortel 0.4 2.2 - - - - 0.0 - 293 14 2K 0 wam_zapOneGr/1 <-------------- This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list [email protected]
