Hello,
We are looking for a way to gather I/O statistics at the disk and
filesystem level. We are particularly interested in the read/write
transfer and byte counts. Filesystem information would be more helpful
than at the disk level. This information is useful to determine if
RAID is appropriate and compensate for AdvFS's affinity to CPU 0
in the SMP environment.
For example, on our DECsystem 5900/240 running Ultrix 4.3a we could
use the crash utility and invoke the 'cam -transfer' command to get...
SCSI/CAM data transfer information:
Controller #0 Targid #0 Lun #0:
read count: 0x6898
read bytes: 0xb2e9200
write count: 0x3176
write bytes: 0x627a800
How can we do this under OSF/1?
We have several Alpha systems running OSF/1 3.2a.
Under OSF/1, I have a C program that uses the table() function and dkinfo
structure to ascertain the following for rz0, for example. Notice it
does not provide separate read and write stats. I am curious why
some of the fields are zero.
Max. # of disks providing stats (di_ndrive) = 256
Bit mask of disks currently busy (di_busy) = 0
Amount of time requested disk is busy (di_time) = 0
Number of seeks for requested disk (di_seek) = 0
Number of data transfer operations (di_xfer) = 3361189
Number of words transferred (di_wds) = 741826192
Words transferred per millisecond (di_wpms) = 0
Disk unit (di_unit) = 0
Disk name (di_name) = rz
Average # of outstanding requests (di_avque) = 0
Average time (ms) in wait queue (di_avwait) = 0
Average time (ms) for transfer completion (di_avserv)= 0
Regards,
Richard Jackson George Mason University
UNIX Systems Engineer UCIS / ISO
Computer Systems Engineering
Received on Tue Apr 11 1995 - 11:21:29 NZST