]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/readbytes_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / readbytes_example.txt
1 The following is a demonstration of the readbytes.d script,
2
3
4 Here 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
20 In this interval the Xorg command has successfully read 17.5 Kb, while
21 ttymon has read 5952 bytes.
22