aboutsummaryrefslogtreecommitdiff
path: root/Examples/creatbyproc_example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/creatbyproc_example.txt')
-rw-r--r--Examples/creatbyproc_example.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Examples/creatbyproc_example.txt b/Examples/creatbyproc_example.txt
new file mode 100644
index 000000000000..295e07ff2fbb
--- /dev/null
+++ b/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
+
+
+