rwbypid.d1m
Read/write calls by pid. uses dtrace.
Usage
rwbypid.d
Overview
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.
Examples
- This samples until Ctrl-C is hit.
-
#
rwbypid.d
Fields
PID
|
process ID |
|---|---|
CMD
|
process name |
DIR
|
direction, Read or Write |
COUNT
|
total calls |
Documentation
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.
Exit
rwbypid.d will sample until Ctrl-C is hit.
Releases
115 releases since Mac OS X 10.5; the text changed 1 time.