ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



runocc.d(1m)                                    USER COMMANDS                                   runocc.d(1m)



NAME
       runocc.d - run queue occupancy by CPU. Uses DTrace.

SYNOPSIS
       runocc.d

DESCRIPTION
       This  prints the dispatcher run queue occupancy by CPU each second.  A consistant run queue occupancy
       is a sign of CPU saturation.

       The value is similar to that seen in "sar -q", however this is calculated in a more accurate manner -sampling mannersampling
       sampling at 1000 Hertz.

       Since  this  uses  DTrace,  only the root user or users with the dtrace_kernel privilege can run this
       command.

EXAMPLES
       Print %runocc by CPU every second,
              # runocc.d


FIELDS
       CPU    cpu ID

       %runocc
              percent run queue occupancy, sampled at 1000 Hertz


SEE ALSO
       Solaris Internals 2nd Ed, vol 2, CPU chapter


DOCUMENTATION
       See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs  may
       include full worked examples with verbose descriptions explaining the output.

EXIT
       runocc.d will sample until Ctrl-C is hit.

AUTHOR
       Brendan Gregg [Sydney, Australia]

SEE ALSO
       dtrace(1M)



version 0.50                                    Apr 23, 2006                                    runocc.d(1m)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.