1 .TH priclass.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 priclass.d \- priority distribution by scheduling class. Uses DTrace.
7 This is a simple DTrace script that samples at 1000 Hz the current
8 thread's scheduling class and priority. A distribution plot is printed.
10 With priorities, the higher the priority the better chance the thread
11 has of being scheduled.
13 This idea came from the script /usr/demo/dtrace/pri.d, which
14 produces similar output for priority changes, not samples.
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.
34 number of samples of at least this priority
36 .SH SCHEDULING CLASSES
54 /usr/demo/dtrace/pri.d
57 DTrace Guide "profile Provider" chapter (docs.sun.com)
59 See the DTraceToolkit for further documentation under the
60 Docs directory. The DTraceToolkit docs may include full worked
61 examples with verbose descriptions explaining the output.
63 priclass.d will sample until Ctrl\-C is hit.
65 pridist.d(1M), dispadmin(1M), dtrace(1M)