]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/rwbbypid_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / rwbbypid_example.txt
1 The following is a demonstration of the rwbbypid.d script,
2
3
4 Here we run it for a few seconds then hit Ctrl-C,
5
6    # rwbbypid.d
7    Tracing... Hit Ctrl-C to end.
8    ^C
9       PID CMD                       DIR            BYTES
10     20347 bash                        R               22
11     11053 dtrace                      W               32
12      1532 Xorg                        W               64
13     20317 sshd                        R               86
14     20347 bash                        W               87
15     20317 sshd                        W              137
16      1659 mozilla-bin                 R              213
17     20334 sshd                        R             1232
18     20334 sshd                        W             1282
19     11054 cp                          W            18652
20     11054 cp                          R            18652
21      1532 Xorg                        R            51112
22      1659 mozilla-bin                 W            51261
23
24 In the above output, we can see that mozilla-bin with PID 1659 has written
25 51261 bytes, while Xorg has read 51112 bytes.
26