]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/rwbypid.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 / rwbypid.d.1m
1 .TH rwbypid.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 rwbypid.d \- read/write calls by PID. Uses DTrace.
4 .SH SYNOPSIS
5 .B rwbypid.d
6 .SH DESCRIPTION
7 This script tracks the number of reads and writes at the syscall level
8 by processes, printing the totals in a report. This matches reads
9 and writes whether they succeed or not.
10
11 Since this uses DTrace, only the root user or users with the
12 dtrace_kernel privilege can run this command.
13 .SH OS
14 Solaris
15 .SH STABILITY
16 stable - needs the syscall provider.
17 .SH EXAMPLES
18 .TP
19 This samples until Ctrl\-C is hit.
20
21 .B rwbypid.d
22 .PP
23 .SH FIELDS
24 .TP
25 PID
26 process ID
27 .TP
28 CMD
29 process name
30 .TP
31 DIR
32 direction, Read or Write
33 .TP
34 COUNT
35 total calls
36 .PP
37 .SH DOCUMENTATION
38 See the DTraceToolkit for further documentation under the 
39 Docs directory. The DTraceToolkit docs may include full worked
40 examples with verbose descriptions explaining the output.
41 .SH EXIT
42 rwbypid.d will sample until Ctrl\-C is hit.
43 .SH AUTHOR
44 Brendan Gregg
45 [Sydney, Australia]
46 .SH SEE ALSO
47 rwbbypid.d(1M), dtrace(1M)
48