rwbypid.d - read/write calls by PID. Uses DTrace.
This script tracks the number of reads and writes at the syscall level by processes, printing the totals in a report. This matches reads and writes whether they succeed or not.
Since this uses DTrace, only users with root privileges can run this command.
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.
rwbypid.d will sample until Ctrl-C is hit.
Brendan Gregg [Sydney, Australia]
|June 28, 2005||version 1.00|