summaryrefslogtreecommitdiffstats
path: root/Examples/writebytes_example.txt
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committergnn <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit4297c1b2d07fec7f50b70e26e3adb4d062b19e15 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/writebytes_example.txt
parent111c75a23278cd9317f0a13867c22ee0f6c95b26 (diff)
downloadFreeBSD-src-4297c1b2d07fec7f50b70e26e3adb4d062b19e15.zip
FreeBSD-src-4297c1b2d07fec7f50b70e26e3adb4d062b19e15.tar.gz
Add the remaining scripts from the DTraceToolkit, version 0.99, to the
vendor tree. http://www.brendangregg.com/dtrace.html#DTraceToolkit
Diffstat (limited to 'Examples/writebytes_example.txt')
-rw-r--r--Examples/writebytes_example.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Examples/writebytes_example.txt b/Examples/writebytes_example.txt
new file mode 100644
index 0000000..baa83fc
--- /dev/null
+++ b/Examples/writebytes_example.txt
@@ -0,0 +1,26 @@
+The following is a demonstration of the writebytes.d script,
+
+
+Here the writebytes.d script is run for a few seconds, then Ctrl-C is hit,
+
+ # writebytes.d
+ dtrace: description 'sysinfo:::writech ' matched 4 probes
+ ^C
+ dtrace 1
+ gnome-settings-d 8
+ xscreensaver 8
+ gnome-panel 8
+ nautilus 8
+ date 29
+ wnck-applet 120
+ bash 210
+ mozilla-bin 1497
+ ls 1947
+ metacity 3172
+ Xorg 7424
+ gnome-terminal 51955
+
+
+In this interval the gnome-terminal command has successfully written 51.9 Kb,
+while Xorg has written 7424 bytes.
+
OpenPOWER on IntegriCloud