From 055173dba4a263acf10325a49eebf82915369ed2 Mon Sep 17 00:00:00 2001 From: "George V. Neville-Neil" Date: Sat, 12 May 2012 20:38:18 +0000 Subject: Add the remaining scripts from the DTraceToolkit, version 0.99, to the vendor tree. http://www.brendangregg.com/dtrace.html#DTraceToolkit --- Examples/readbytes_example.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Examples/readbytes_example.txt (limited to 'Examples/readbytes_example.txt') 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. + -- cgit v1.2.3