1The following is a demonstration of the vmbypid.d command,
2
3   # vmbypid.d 
4   Tracing... Hit Ctrl-C to end.
5   ^C
6               EXEC      PID                     VM    VALUE
7               find    19216             prot_fault        1
8               bash    19216                   zfod        1
9             dtrace    19215                 pgfrec        3
10             dtrace    19215                  pgrec        3
11               bash    19216                 pgfrec        5
12               bash    19216                  pgrec        5
13               find    19216              cow_fault        6
14               find    19216                 pgfrec        6
15               find    19216                  pgrec        6
16               bash    19216             prot_fault       10
17               bash    19216              cow_fault       15
18               bash    19155             prot_fault       30
19             dtrace    19215                   zfod       52
20               find    19216                   zfod       54
21             dtrace    19215               as_fault       56
22               bash    19216               as_fault       74
23               find    19216               as_fault       91
24               find    19216                 fspgin      315
25               find    19216                   pgin      315
26               find    19216                 pgpgin      315
27               find    19216              maj_fault      315
28
29In the above output, the find command at PID 19211 triggered 315 maj_faults -
30major faults, that would require disk activity to satisfy (as confirmed by the
31pgpgin value for pages paged in).
32
33