diff options
Diffstat (limited to 'cddl/contrib/dtracetoolkit/dist/Examples/creatbyproc_example.txt')
-rw-r--r-- | cddl/contrib/dtracetoolkit/dist/Examples/creatbyproc_example.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cddl/contrib/dtracetoolkit/dist/Examples/creatbyproc_example.txt b/cddl/contrib/dtracetoolkit/dist/Examples/creatbyproc_example.txt new file mode 100644 index 0000000..295e07f --- /dev/null +++ b/cddl/contrib/dtracetoolkit/dist/Examples/creatbyproc_example.txt @@ -0,0 +1,23 @@ +The following is an example of the creatbyproc.d script, + + +Here we run creatbyproc.d for several seconds, + + # ./creatbyproc.d + dtrace: script './creatbyproc.d' matched 2 probes + CPU ID FUNCTION:NAME + 0 5438 creat64:entry touch /tmp/newfile + 0 5438 creat64:entry sh /tmp/mpLaaOik + 0 5438 creat64:entry sh /dev/null + ^C + +In another window, the following commands were run, + + touch /tmp/newfile + man ls + +The file creation activity caused by these commands can be seen in the +output by creatbyproc.d + + + |