xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/minfbypid_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
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