1 .TH pridist.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 pridist.d \- process priority distribution. Uses DTrace.
7 This is a simple DTrace script that samples at 1000 Hz which process
8 is on the CPUs, and what the priority is. A distribution plot is printed.
10 With priorities, the higher the priority the better chance the process
11 (actually, thread) has of being scheduled.
13 This idea came from the script /usr/demo/dtrace/profpri.d, which
14 produces similar output for one particular PID.
16 Since this uses DTrace, only the root user or users with the
17 dtrace_kernel privilege can run this command.
24 This samples until Ctrl\-C is hit.
40 number of samples of at least this priority
43 /usr/demo/dtrace/profpri.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 pridist.d will sample until Ctrl\-C is hit.
54 dispadmin(1M), dtrace(1M)