Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

diskhits(1m) [osx man page]

diskhits(1m)							   USER COMMANDS						      diskhits(1m)

NAME
diskhits - disk access by file offset. Uses DTrace. SYNOPSIS
diskhits pathname DESCRIPTION
This prints how a file was accessed, the locations on a distribution plot. This is for the cache misses only - the file activity that resulted in disk events. Since this uses DTrace, only users with root privileges can run this command. EXAMPLES
Sample /var/adm/messages disk activity, # diskhits /var/adm/messages FIELDS
Location (KB) the file offset of the disk activity, Kbytes Size (KB) size of the disk activity, Kbytes Total RW Total disk activity, reads + writes BASED ON
/usr/demo/dtrace/applicat.d DOCUMENTATION
DTrace Guide "io Provider" chapter (docs.sun.com) See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
diskhits will sample until Ctrl-C is hit. SEE ALSO
dtrace(1M) version 0.72 Apr 20, 2006 diskhits(1m)

Check Out this Related Man Page

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

NAME
iofileb.d - I/O bytes by file and process. Uses DTrace. SYNOPSIS
iofileb.d DESCRIPTION
This prints a summary of requested disk activity by pathname, providing totals of the I/O events in bytes. It is a companion to the iofile.d script - which prints in terms of I/O wait time, not bytes. I/O wait time is a better metric for understanding performance issues. Both disk and NFS I/O are measured. Since this uses DTrace, only users with root privileges can run this command. EXAMPLES
Sample until Ctrl-C is hit then print report, # iofileb.d FIELDS
PID process ID CMD process name KB kilobytes of disk I/O FILE file pathname DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
iofileb.d will sample until Ctrl-C is hit. SEE ALSO
iofile.d(1M), iosnoop(1M), dtrace(1M) version 1.00 Feb 20, 2006 iofileb.d(1m)
Man Page