xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/hotspot_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1The following is a demonstration of the hotspot.d script.
2
3Here 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
5around the 9000 to 10999 Mb range on the source disk (102,0), and was
6copied 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
35