]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/rwbypid_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / rwbypid_example.txt
1 The following is a demonstration of the rwbypid.d script,
2
3
4 Here we run it for a few seconds then hit Ctrl-C,
5
6    # rwbypid.d
7    Tracing... Hit Ctrl-C to end.
8    ^C
9       PID CMD                       DIR    COUNT
10     11131 dtrace                      W        2
11     20334 sshd                        W       17
12     20334 sshd                        R       24
13      1532 Xorg                        W       69
14      1659 mozilla-bin                 R      852
15      1659 mozilla-bin                 W     1128
16      1532 Xorg                        R     1702
17
18 In the above output, we can see that Xorg with PID 1532 has made 1702 reads.
19