xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/rwbypid_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1The following is a demonstration of the rwbypid.d script,
2
3
4Here 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
18In the above output, we can see that Xorg with PID 1532 has made 1702 reads.
19
20