SYS_BUSY_60

Use the SYS_BUSY_60 script function to return the workload percentage during the last hour. The script function checks the workload percentage of the Automation Engine work process where the script is executed. The returned percentage is not the workload of the whole system.

Tip: Use the SYS_INFO script function to query the workload percentage of the Automation Engine.

Syntax

SYS_BUSY_60 ()

Example

The following script sends a notification to a user called Smith if the workload percentage of the server process exceeds 80% over the last hour.

:IF SYS_BUSY_60() > 80

:SET &WP_NAME# = GET_UC_SERVER_NAME()

:SEND_MSG SMITH,DEV,"Workload of the work process &WP_NAME# is above 80% over the last hour"

:ENDIF

See also: