1 The following is an example of the newproc.d script,
4 dtrace: description 'proc:::exec-success ' matched 1 probe
6 0 3297 exec_common:exec-success man ls
7 0 3297 exec_common:exec-success sh -c cd /usr/share/man; tbl /usr/share/man/man1/ls.1 |neqn /usr/share/lib/pub/
8 0 3297 exec_common:exec-success tbl /usr/share/man/man1/ls.1
9 0 3297 exec_common:exec-success neqn /usr/share/lib/pub/eqnchar -
10 0 3297 exec_common:exec-success nroff -u0 -Tlp -man -
11 0 3297 exec_common:exec-success col -x
12 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
13 0 3297 exec_common:exec-success /usr/bin/mv -f /tmp/mpzIaOZF /usr/share/man/cat1/ls.1
14 0 3297 exec_common:exec-success sh -c more -s /tmp/mpzIaOZF
15 0 3297 exec_common:exec-success more -s /tmp/mpzIaOZF
17 The above output was caught when running "man ls". This identifies all the
18 commands responsible for processing the man page.