Automation Engine Script Guide > Ordered by Function > System Conditions and Settings > SYS_BUSY_01

SYS_BUSY_01

Script Function: Returns the workload percent of the Automation Engine work process where the script is executed during the last minute.

Syntax

SYS_BUSY_01()

Return code

Percentage of the workload of a server process

Comments

The script function SYS_INFO can also be used to query the percentage of the Automation Engine workload.

Example

The size of the workload of the Automation Engine is queried. If it is above 80%, a notification is sent to a user.

:IF SYS_BUSY_01() > 80
:   
SEND_MSG BU,AE,"Workload of the Automation Engine above 80%"   
:
ENDIF

 

See also:

Script element Description

SYS_BUSY_10

Returns the workload percent of the Automation Engine work process where the script is executed during the last 10 minutes.
SYS_BUSY_60 Returns the workload percent of the Automation Engine work process where the script is executed during the last hour.

Script Elements - System Conditions and Settings

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function