xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/pgpginbypid_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1*c29d5175SchristosThe following is a demonstration of the pgpginbypid.d script,
2*c29d5175Schristos
3*c29d5175Schristos
4*c29d5175SchristosHere we run it for a few seconds then hit Ctrl-C,
5*c29d5175Schristos
6*c29d5175Schristos   # pgpginbypid.d
7*c29d5175Schristos   Tracing... Hit Ctrl-C to end.
8*c29d5175Schristos   ^C
9*c29d5175Schristos      PID CMD                         PAGES
10*c29d5175Schristos    10692 find                          128
11*c29d5175Schristos    10693 tar                         11928
12*c29d5175Schristos
13*c29d5175SchristosIn the output above, we can see which processes are responsible for page ins,
14*c29d5175Schristosas well as the number of pages paged in.
15