1 .TH diskhits 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 diskhits \- disk access by file offset. Uses DTrace.
7 This prints how a file was accessed, the locations on a distribution plot.
8 This is for the cache misses only - the file activity that resulted in
11 Since this uses DTrace, only the root user or users with the
12 dtrace_kernel privilege can run this command.
16 stable - needs the io provider.
19 Sample /var/adm/messages disk activity,
21 .B diskhits /var/adm/messages
26 the file offset of the disk activity, Kbytes
29 size of the disk activity, Kbytes
32 Total disk activity, reads + writes
35 /usr/demo/dtrace/applicat.d
38 DTrace Guide "io Provider" chapter (docs.sun.com)
40 See the DTraceToolkit for further documentation under the
41 Docs directory. The DTraceToolkit docs may include full worked
42 examples with verbose descriptions explaining the output.
44 diskhits will sample until Ctrl\-C is hit.