xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/readbytes_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1The following is a demonstration of the readbytes.d script,
2
3
4Here the readbytes.d script is run for a few seconds, then Ctrl-C is hit,
5
6   # readbytes.d
7   dtrace: description 'sysinfo:::readch ' matched 4 probes
8   ^C
9
10     mozilla-bin                                                      16
11     gnome-smproxy                                                    64
12     metacity                                                         64
13     dsdm                                                             64
14     wnck-applet                                                      64
15     xscreensaver                                                     96
16     gnome-terminal                                                  900
17     ttymon                                                         5952
18     Xorg                                                          17544
19
20In this interval the Xorg command has successfully read 17.5 Kb, while
21ttymon has read 5952 bytes.
22
23