abstract class %SYSTEM.Monitor extends %SYSTEM.HelpThe %SYSTEM.Monitor class provides an interface for accessing the Caché System Monitor. You can Get/Set/Clear the system 'State' and 'Alerts' counter.
You can use it via the special $SYSTEM object.
You can call help to get a list of all entrypoints:
Method Inventory (Including Private)
-1: System is hung
0: System state is OK
1: System state is Warning
2: System state is Alert