xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/tcl_who_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1The following is an example of running tcl_who.d.
2
3The output produces four fields of interest in tracing tcl calls by process.
4
5Here we see it running while Code/Tcl/func_slow.tcl and Code/Tcl/func_abc.tcl
6are executed.
7# tcl_who.d
8Tracing... Hit Ctrl-C to end.
9^C
10      PID    UID  CALLS ARGS
11    16063    100     83 ./tclsh scripts/func_slow.tcl
12    16061    100     86 ./tclsh scripts/func_abc.tcl
13
14CALLS is a measure of activity, and is a count of the procedures and commands
15that Tcl called.  The ARGS column shows the process name and arguments given
16for a particular PID in order to identify the particular Tcl code involved.
17
18