search for: waitcpu

Displaying 1 result from an estimated 1 matches for "waitcpu".

Did you mean: lastcpu
2008 Jun 26
4
Pfilestat vs. prstat
[Just starting out with DTrace and was hoping to get some guidance.] I have a "benchmark" program that I monitored with both prstat (prstat -mL -P <PID>) and pfilestat (from the DTrace toolkit). Prstat reports LAT values in the 0.1-0.2% range, but pfilestat reports "waitcpu" values in the 6-10%. Since those two numbers supposedly represent time waiting for the CPU, I''m wondering why they are so different for the same application (over the same time period). On a side note, the pfilestat script (I think) assumes that a "read entry" will be foll...