1 .TH cswstat.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 cswstat.d \- context switch time stats. Uses DTrace.
7 cswstat.d is a DTrace program to print context switch time
10 This program measures the time consumed during context switching,
11 and prints it with the number of context switches and the average
14 Since this uses DTrace, only the root user or users with the
15 dtrace_kernel privilege can run this command.
19 stable - needs the sched provider.
22 Print statistics every second,
32 Number of context switches in this sample
35 Total time consumed context switching, us
38 Average time for each context switch, us
41 See the DTraceToolkit for further documentation under the
42 Docs directory. The DTraceToolkit docs may include full worked
43 examples with verbose descriptions explaining the output.
45 cswstat.d will run forever until Ctrl\-C is hit.
50 mpstat(1M), dtrace(1M)