summaryrefslogtreecommitdiff
path: root/Examples/rwbypid_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/rwbypid_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
Notes
Diffstat (limited to 'Examples/rwbypid_example.txt')
-rw-r--r--Examples/rwbypid_example.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Examples/rwbypid_example.txt b/Examples/rwbypid_example.txt
new file mode 100644
index 000000000000..0c8559b45da9
--- /dev/null
+++ b/Examples/rwbypid_example.txt
@@ -0,0 +1,19 @@
+The following is a demonstration of the rwbypid.d script,
+
+
+Here we run it for a few seconds then hit Ctrl-C,
+
+ # rwbypid.d
+ Tracing... Hit Ctrl-C to end.
+ ^C
+ PID CMD DIR COUNT
+ 11131 dtrace W 2
+ 20334 sshd W 17
+ 20334 sshd R 24
+ 1532 Xorg W 69
+ 1659 mozilla-bin R 852
+ 1659 mozilla-bin W 1128
+ 1532 Xorg R 1702
+
+In the above output, we can see that Xorg with PID 1532 has made 1702 reads.
+