Process locks

This view shows the count of lock requests for every process in Adaptive Server that generated lock requests during the most recent sample interval.

SMC_SIZET process_lock_count = 4;
SMC_DATAITEM_STRUCT process_lock_view[] = {
{ SMC_NAME_LOGIN_NAME,    SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_SPID,          SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_KPID,          SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_LOCK_CNT,      SMC_STAT_VALUE_SAMPLE }
};