]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/hotspot_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / hotspot_example.txt
1 The following is a demonstration of the hotspot.d script. 
2
3 Here the script is run while a large file is copied from one filesystem
4 (cmdk0 102,0) to another (cmdk0 102,3). We can see the file mostly resided
5 around the 9000 to 10999 Mb range on the source disk (102,0), and was 
6 copied to the 0 to 999 Mb range on the target disk (102,3).
7
8    # ./hotspot.d
9    Tracing... Hit Ctrl-C to end.
10    ^C
11    Disk: cmdk0   Major,Minor: 102,3
12    
13               value  ------------- Distribution ------------- count
14                 < 0 |                                         0
15                   0 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 418
16                1000 |                                         0
17    
18    Disk: cmdk0   Major,Minor: 102,0
19    
20               value  ------------- Distribution ------------- count
21                 < 0 |                                         0
22                   0 |                                         1
23                1000 |                                         5
24                2000 |                                         0
25                3000 |                                         0
26                4000 |                                         0
27                5000 |                                         0
28                6000 |                                         0
29                7000 |                                         0
30                8000 |                                         0
31                9000 |@@@@@                                    171
32               10000 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@      1157
33               11000 |                                         0
34