This view shows the I/O activity that occurred on Adaptive Server database devices since the start of the session. 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 since the start of the session, and also as overall rates of total I/Os, reads and writes per second since the session began.
SMC_SIZET session_device_io_count = 7; SMC_DATAITEM_STRUCT session_device_io_view[] = { { SMC_NAME_DEV_NAME, SMC_STAT_VALUE_SAMPLE }, { SMC_NAME_DEV_READ, SMC_STAT_VALUE_SESSION }, { SMC_NAME_DEV_WRITE, SMC_STAT_VALUE_SESSION }, { SMC_NAME_DEV_IO, SMC_STAT_VALUE_SESSION }, { SMC_NAME_DEV_READ, SMC_STAT_RATE_SESSION }, { SMC_NAME_DEV_WRITE, SMC_STAT_RATE_SESSION }, { SMC_NAME_DEV_IO, SMC_STAT_RATE_SESSION } };