summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/Examples/xcallsbypid_example.txt
blob: 1593b62de62719dfc9d90724f28b2891d6450c1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
The following is a demonstration of the xcallsbypid.d script,

   # xcallsbypid.d
   Tracing... Hit Ctrl-C to end.
   ^C
      PID CMD                        XCALLS
      215 utmpd                           3
     6350 bash                            3
     6351 bash                            3
     6350 ls                             24
        0 sched                          48
     6349 dtrace                         93
     6351 find                         5718

In the above output, we can see the find command with PID 6351 has caused
5718 cross calls.

OpenPOWER on IntegriCloud