rwbytype.d(1m)

rwbytype.d1m

Read/write bytes by vnode type. uses dtrace.

Usage

rwbytype.d

Overview

This program identifies the vnode type of read/write activity - whether that is for regular files, sockets, character special devices, etc. This is measuring at the application level, so file activity may well be cached by the system.

Since this uses DTrace, only users with root privileges can run this command.

Examples

This samples until Ctrl-C is hit.

# rwbytype.d

Fields

PID

process ID

CMD

process name

VNODE

vnode type (describes I/O type)

DIR

direction, Read or Write

BYTES

total bytes

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

rwbytype.d will sample until Ctrl-C is hit.

Releases

115 releases since Mac OS X 10.5; the text changed 1 time.

  1. 10.5–10.5.8
  2. 10.6–26.5

Author

Brendan Gregg [Sydney, Australia]

From dtrace 413 in macOS 26.5. Parsed by carta from the page's man source.