]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/runocc_example.txt
MFC r368207,368607:
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / runocc_example.txt
1 The following are demonstrations of the runocc.d script.
2
3
4
5 Here we run it on a single CPU server that is fairly busy,
6
7    # ./runocc.d
8    
9         CPU  %runocc
10           0       86
11    
12         CPU  %runocc
13           0       85
14    
15         CPU  %runocc
16           0       82
17    ^C
18
19 The run queue occupancy is around 85%, meaning most of the time there
20 are runnable threads queued waiting for CPU.
21
22
23
24 This script is more interesting on a multi-CPU server,
25
26    # ./runocc.d
27    
28         CPU  %runocc
29           1       16
30           3       27
31           0       38
32           2       75
33    
34         CPU  %runocc
35           0       25
36           2       41
37           3       42
38           1       50
39    
40         CPU  %runocc
41           3        1
42           0       17
43           2       26
44           1       27
45    
46         CPU  %runocc
47           3        2
48           2        5
49           0       24
50           1       25
51    ^C
52
53 Here there was some degree of saturation, especially on CPU 2 to start with.