xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/minfbypid_example.txt (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1The following is a demonstration of the minfbypid.d script,
2
3
4Here we run it for a few seconds then hit Ctrl-C,
5
6   # minfbypid.d
7   Tracing... Hit Ctrl-C to end.
8   ^C
9      PID CMD                     MINFAULTS
10    11021 dtrace                         54
11    11023 ls                             56
12    11024 df                             57
13    11023 bash                           75
14    11022 bash                           75
15    11024 bash                           76
16    11022 find                           91
17
18In the above output, we can see that each of the bash shells had about 75
19minor faults each. Minor faults are an indication of memory consumption.
20
21