ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

AWA: SYS_INFO(Length) - what information does this provide for system performance


Article ID: 143379


Updated On:


CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine


When using the script SYS_INFO with the length parameter, the number returned shows a value in seconds. What does this measure?


Release : 12.3



SYS_INFO(Length) provides information on the time it took that record to be processed within its queue. This, by itself is not an average.

To get the average, you would also need SYS_INFO(count). These two together provide both the number and timing, which allow for an average to be calculated.

For example:
SYS_INFO(MQWP,count): 627
SYS_INFO(MQWP,length,1): 35

This is not returning an average of 35 seconds for processing. It is saying that the 627th record took 35 seconds to be processed. This would give an average processing time of:

35/627 = .055 seconds or 55 milliseconds.