summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/dist/Examples/newproc_example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/contrib/dtracetoolkit/dist/Examples/newproc_example.txt')
-rw-r--r--cddl/contrib/dtracetoolkit/dist/Examples/newproc_example.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/cddl/contrib/dtracetoolkit/dist/Examples/newproc_example.txt b/cddl/contrib/dtracetoolkit/dist/Examples/newproc_example.txt
new file mode 100644
index 0000000..f392b05
--- /dev/null
+++ b/cddl/contrib/dtracetoolkit/dist/Examples/newproc_example.txt
@@ -0,0 +1,19 @@
+The following is an example of the newproc.d script,
+
+ # ./newproc.d
+ dtrace: description 'proc:::exec-success ' matched 1 probe
+ CPU ID FUNCTION:NAME
+ 0 3297 exec_common:exec-success man ls
+ 0 3297 exec_common:exec-success sh -c cd /usr/share/man; tbl /usr/share/man/man1/ls.1 |neqn /usr/share/lib/pub/
+ 0 3297 exec_common:exec-success tbl /usr/share/man/man1/ls.1
+ 0 3297 exec_common:exec-success neqn /usr/share/lib/pub/eqnchar -
+ 0 3297 exec_common:exec-success nroff -u0 -Tlp -man -
+ 0 3297 exec_common:exec-success col -x
+ 0 3297 exec_common:exec-success sh -c trap '' 1 15; /usr/bin/mv -f/tmp/mpzIaOZF /usr/share/man/cat1/ls.1 2> /d
+ 0 3297 exec_common:exec-success /usr/bin/mv -f /tmp/mpzIaOZF /usr/share/man/cat1/ls.1
+ 0 3297 exec_common:exec-success sh -c more -s /tmp/mpzIaOZF
+ 0 3297 exec_common:exec-success more -s /tmp/mpzIaOZF
+
+The above output was caught when running "man ls". This identifies all the
+commands responsible for processing the man page.
+
OpenPOWER on IntegriCloud