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