Displaying 2 results from an estimated 2 matches for "pr_pctcpu".
2007 Jan 10
0
[DTrace] %CPU, %Mem, %Disk and %Net by PID
...ewer
12047 0.01 0.13 0.00 0.01 rlogin
440 8.94 45.39 0.00 0.00 Xsun
12046 0.00 0.27 0.00 0.00 rlogin
90 0.00 0.09 0.00 0.00 syseventd
^C
Wheee, I can see rcp''s %Net and %Disk! (oh, and it probably died too soon
before I /proc/*/psinfo pr_pctcpu''d it. Not to worry, if it missed
sampling then it would be unlikely to have had huge values there anyway
(especially considering pr_pctcpu''s averaging algorithm over time)))....
It''s on my dtrace site (http://www.brendangregg.com/DTrace/prustat).
It can also do a prstat...
2006 Nov 29
7
how to debug context switching and mutex contentions?
I''m looking for a suggestion on a good way to hunt down the source of
high context switching and mutex contentions...
Is dtrace the way to go now, or should I stick with something like lockstat?
Russ
This is a 5 second interval for mpstat:
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
16 0 0 1115 1241 206 9095 912 2420 7393 0 12105 68 25