SYS_BUSY_01

Use the SYS_BUSY_01 script function to return the workload percentage during the last minute. 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_01 ()

Example

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

:IF SYS_BUSY_01() > 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 minute"

:ENDIF

See also:

seealso

Script Elements for System Conditions and Settings