aboutsummaryrefslogtreecommitdiff
path: root/Examples/readbytes_example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/readbytes_example.txt')
-rw-r--r--Examples/readbytes_example.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Examples/readbytes_example.txt b/Examples/readbytes_example.txt
new file mode 100644
index 000000000000..fa2923b1b649
--- /dev/null
+++ b/Examples/readbytes_example.txt
@@ -0,0 +1,22 @@
+The following is a demonstration of the readbytes.d script,
+
+
+Here the readbytes.d script is run for a few seconds, then Ctrl-C is hit,
+
+ # readbytes.d
+ dtrace: description 'sysinfo:::readch ' matched 4 probes
+ ^C
+
+ mozilla-bin 16
+ gnome-smproxy 64
+ metacity 64
+ dsdm 64
+ wnck-applet 64
+ xscreensaver 96
+ gnome-terminal 900
+ ttymon 5952
+ Xorg 17544
+
+In this interval the Xorg command has successfully read 17.5 Kb, while
+ttymon has read 5952 bytes.
+