Query: sampleproc
OS: osx
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sampleproc(1m) USER COMMANDS sampleproc(1m)NAMEsampleproc - sample processes on the CPUs. Uses DTrace.SYNOPSISsampleproc [hertz]DESCRIPTIONThis program samples which process is on each CPU, at a particular configurable rate. This can be used as an estimate for which process is consuming the most CPU time. Since this uses DTrace, only users with root privileges can run this command.EXAMPLESSample at 100 hertz, # sampleproc Sample at 400 hertz, # sampleproc 400FIELDSPID process ID COMMAND command name COUNT number of samples PERCENT percent of CPU usageBASED ON/usr/demo/dtrace/prof.dDOCUMENTATIONDTrace Guide "profile Provider" chapter (docs.sun.com) See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output.EXITsampleproc will sample until Ctrl-C is hit.SEE ALSOdtrace(1M) version 0.70 Jun 09, 2005 sampleproc(1m)
Related Man Pages |
---|
lastwords(1m) - mojave |
sigdist.d(1m) - osx |
sigdist.d(1m) - mojave |
syscallbypid.d(1m) - osx |
newproc.d(1m) - osx |
Similar Topics in the Unix Linux Community |
---|
Email to a process |
$PATH error (possibly) |