]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/readbytes.d.1m
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / readbytes.d.1m
1 .TH readbytes.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 readbytes.d \- read bytes by process name. Uses DTrace.
4 .SH SYNOPSIS
5 .B readbytes.d
6 .SH DESCRIPTION
7 readbytes.d is a DTrace OneLiner to a report of the number of 
8 bytes read by process name.
9
10 Docs/oneliners.txt and Docs/Examples/oneliners_examples.txt
11 in the DTraceToolkit contain this as a oneliner that can be cut-n-paste
12 to run.
13
14 Since this uses DTrace, only the root user or users with the
15 dtrace_kernel privilege can run this command.
16 .SH OS
17 Solaris
18 .SH STABILITY
19 stable - needs the sysinfo provider.
20 .SH EXAMPLES
21 .TP
22 This samples until Ctrl\-C is hit.
23
24 .B readbytes.d
25 .PP
26 .SH FIELDS
27 .TP
28 first field
29 This is the process name. There may be several PIDs that have the 
30 same process name, for example with numerous instances of "bash". The
31 value reported will be the sum of them all.
32 .TP
33 second field
34 This is the number of bytes read.
35 .PP
36 .SH DOCUMENTATION
37 See the DTraceToolkit for further documentation under the 
38 Docs directory. The DTraceToolkit docs may include full worked
39 examples with verbose descriptions explaining the output.
40 .SH EXIT
41 readbytes.d will sample until Ctrl\-C is hit.
42 .SH AUTHOR
43 Brendan Gregg
44 [Sydney, Australia]
45 .SH SEE ALSO
46 dtrace(1M), truss(1)
47