1 .TH sampleproc 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 sampleproc \- sample processes on the CPUs. Uses DTrace.
7 This program samples which process is on each CPU, at a particular
8 configurable rate. This can be used as an estimate for which process
9 is consuming the most CPU time.
11 Since this uses DTrace, only the root user or users with the
12 dtrace_kernel privilege can run this command.
16 unstable - uses the ncpus_online kernel symbol.
43 /usr/demo/dtrace/prof.d
46 DTrace Guide "profile Provider" chapter (docs.sun.com)
48 See the DTraceToolkit for further documentation under the
49 Docs directory. The DTraceToolkit docs may include full worked
50 examples with verbose descriptions explaining the output.
52 sampleproc will sample until Ctrl\-C is hit.