]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/priclass.d.1m
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / priclass.d.1m
1 .TH priclass.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 priclass.d \- priority distribution by scheduling class. Uses DTrace.
4 .SH SYNOPSIS
5 .B priclass.d
6 .SH DESCRIPTION
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.
9
10 With priorities, the higher the priority the better chance the thread
11 has of being scheduled.
12
13 This idea came from the script /usr/demo/dtrace/pri.d, which
14 produces similar output for priority changes, not samples.
15
16 Since this uses DTrace, only the root user or users with the
17 dtrace_kernel privilege can run this command.
18 .SH OS
19 Solaris
20 .SH STABILITY
21 stable.
22 .SH EXAMPLES
23 .TP
24 This samples until Ctrl\-C is hit.
25
26 .B priclass.d
27 .PP
28 .SH FIELDS
29 .TP
30 value
31 process priority
32 .TP
33 count
34 number of samples of at least this priority
35 .PP
36 .SH SCHEDULING CLASSES
37 .TP
38 TS
39 time sharing
40 .TP
41 IA
42 interactive
43 .TP
44 RT
45 real time
46 .TP
47 SYS
48 system
49 .TP
50 FSS
51 fair share scheduler
52 .PP
53 .SH BASED ON
54 /usr/demo/dtrace/pri.d
55 .PP
56 .SH DOCUMENTATION
57 DTrace Guide "profile Provider" chapter (docs.sun.com)
58
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.
62 .SH EXIT
63 priclass.d will sample until Ctrl\-C is hit.
64 .SH SEE ALSO
65 pridist.d(1M), dispadmin(1M), dtrace(1M)
66