xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/xcallsbypid_example.txt (revision 4c3eb207d36f67d31994830c0a694161fc1ca39b)
1The following is a demonstration of the xcallsbypid.d script,
2
3   # xcallsbypid.d
4   Tracing... Hit Ctrl-C to end.
5   ^C
6      PID CMD                        XCALLS
7      215 utmpd                           3
8     6350 bash                            3
9     6351 bash                            3
10     6350 ls                             24
11        0 sched                          48
12     6349 dtrace                         93
13     6351 find                         5718
14
15In the above output, we can see the find command with PID 6351 has caused
165718 cross calls.
17
18