Device I/O for sample interval

This view shows the I/O activity that occurred on Adaptive Server database devices during the most recent sample interval. It identifies each device by name. Device I/O levels are presented in two ways: as counts of total device I/Os, reads and writes during the most recent sample interval, and also as rates of total I/Os, reads and writes per second during the sample interval.

SMC_SIZET sample_device_io_count = 7;
SMC_DATAITEM_STRUCT sample_device_io_view[] = {
{ SMC_NAME_DEV_NAME,      SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_DEV_IO,        SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_DEV_READ,      SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_DEV_WRITE,     SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_DEV_IO,        SMC_STAT_RATE_SAMPLE },
{ SMC_NAME_DEV_READ,      SMC_STAT_RATE_SAMPLE },
{ SMC_NAME_DEV_WRITE,     SMC_STAT_RATE_SAMPLE }
};