seeksize.d(1m) USER COMMANDS seeksize.d(1m)

seeksize.d - print disk event seek report. Uses DTrace.


seeksize.d is a simple DTrace program to print a report of disk event seeks by process.

This can be used to identify whether processes are accessing the disks in a "random" or "sequential" manner. Sequential is often desirable, indicated by mostly zero length seeks.

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

# seeksize.d

process ID
command and argument list
distance in disk blocks (sectors)
number of I/O operations

See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.

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

Brendan Gregg [Sydney, Australia]

iosnoop(1M), bitesize.d(1M), dtrace(1M)

May 14, 2005 version 0.95