|
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 the root user or users with the dtrace_kernel privilege can run this command. OSSolaris STABILITYunstable - uses the ncpus_online kernel symbol. EXAMPLES
BASED ON/usr/demo/dtrace/prof.d DOCUMENTATIONDTrace 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 verbose descriptions explaining the output. EXITsampleproc will sample until Ctrl-C is hit. SEE ALSOdtrace(1M)
|