Directiostat
From Siwiki
[edit] Monitoring Direct I/O
The directiostat command is a tool that dumps out the kstat information for direct I/O calls to filesystems.
# directiostat 3
lreads lwrites preads pwrites Krd Kwr holdrds nflush
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
Fields are:
- lreads = logical reads to the UFS via directio
- lwrites = logical writes to the UFS via directio
- preads = physical reads to media
- pwrites = physical writes to media
- Krd = kilobytes read
- Kwr = kilobytes written
- nflush = number of cached pages flushed
- holdrds = number of times the read was a "hole" in the file.
The directiostat utility can be downloaded from [here].
