aboutsummaryrefslogtreecommitdiff
path: root/Examples/tcl_who_example.txt
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit055173dba4a263acf10325a49eebf82915369ed2 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/tcl_who_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
Notes
Diffstat (limited to 'Examples/tcl_who_example.txt')
-rw-r--r--Examples/tcl_who_example.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Examples/tcl_who_example.txt b/Examples/tcl_who_example.txt
new file mode 100644
index 000000000000..d1eefa3a9c85
--- /dev/null
+++ b/Examples/tcl_who_example.txt
@@ -0,0 +1,17 @@
+The following is an example of running tcl_who.d.
+
+The output produces four fields of interest in tracing tcl calls by process.
+
+Here we see it running while Code/Tcl/func_slow.tcl and Code/Tcl/func_abc.tcl
+are executed.
+# tcl_who.d
+Tracing... Hit Ctrl-C to end.
+^C
+ PID UID CALLS ARGS
+ 16063 100 83 ./tclsh scripts/func_slow.tcl
+ 16061 100 86 ./tclsh scripts/func_abc.tcl
+
+CALLS is a measure of activity, and is a count of the procedures and commands
+that Tcl called. The ARGS column shows the process name and arguments given
+for a particular PID in order to identify the particular Tcl code involved.
+