]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/iofileb_example.txt
MFC r368207,368607:
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / iofileb_example.txt
1 The following is a demonstration of the iofileb.d script,
2
3
4 Here we run it while a tar command is backing up /var/adm,
5
6    # ./iofileb.d
7    Tracing... Hit Ctrl-C to end.
8    ^C
9       PID CMD              KB FILE
10     29529 tar              56 /var/adm/sa/sa31
11     29529 tar              56 /var/adm/sa/sa03
12     29529 tar              56 /var/adm/sa/sa02
13     29529 tar              56 /var/adm/sa/sa01
14     29529 tar              56 /var/adm/sa/sa04
15     29529 tar              56 /var/adm/sa/sa27
16     29529 tar              56 /var/adm/sa/sa28
17     29529 tar             324 /var/adm/exacct/task
18     29529 tar             736 /var/adm/wtmpx
19
20 In the above output, we can see that the tar command has caused 736 Kbytes
21 of the /var/adm/wtmpx file to be read from disk. All af the Kbyte values
22 measured are for disk activity.
23