summaryrefslogtreecommitdiff
path: root/Examples/readbytes_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/readbytes_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
Notes
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 0000000000000..fa2923b1b649d
--- /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.
+