This view shows the level of activity for each active Adaptive Server engine during the most recent sample interval. This view shows, for each engine, the:
Percentage of the sample interval when that engine used the CPU
Number of lock requests
Number of logical page reads, physical page reads, and page writes that were generated by the engine during the sample interval
SMC_SIZET engine_activity_count = 6;
SMC_DATAITEM_STRUCT engine_activity_view[] = {
{ SMC_NAME_ENGINE_NUM, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_CPU_BUSY_PCT, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_LOCK_CNT, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_PAGE_LOGICAL_READ, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_PAGE_PHYSICAL_READ, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_PAGE_WRITE, SMC_STAT_VALUE_SAMPLE }
};