SYS_BUSY_10

Use the SYS_BUSY_10 script function to return the workload percentage during the last 10 minutes. 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_10 ()

Example

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

:IF SYS_BUSY_10() > 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 10 minutes"

:ENDIF

See also:

seealso

Script Elements for System Conditions and Settings