search for: timewait

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

Did you mean: time_wait
2007 Feb 21
6
CPU stats problem
...values. So, I made this little script: ------------------------------------------------------------------------------------------------------ #!/usr/sbin/dtrace -s #pragma D option quiet this uint64_t start; this hrtime_t timeidle; this hrtime_t timeuser; this hrtime_t timesystem; this hrtime_t timewait; this int in; dtrace:::BEGIN { this -> start = timestamp; this -> timeidle = 0; this -> timeuser = 0; this -> timesystem = 0; this -> timewait = 0; this -> in = 0; } sched:::on-cpu { this -> timeidle = curthread -> t_cpu -> cpu_acct[2]; this -> timeuse...