This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).

Caché & Ensemble 2018.1.5Opens in a new window > Class Reference > %SYS namespace > %SYSTEM.Monitor


abstract class %SYSTEM.Monitor extends %SYSTEM.Help

The %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:

Do $SYSTEM.Monitor.Help()

Method Inventory (Including Private)

Methods (Including Private)

classmethod Alerts() as %Integer
Returns the number of alerts posted to cconsole.log.
classmethod Clear() as %Integer
Clears the alerts counter and sets the system state = 0 (OK).
classmethod ClearAlerts() as %Integer
Clears the alerts counter.
classmethod SetState(State As %Integer) as %Integer
Set the system state. See State() for allowed integer values.
classmethod State() as %Integer
Returns the system state as an integer.

-1: System is hung
0: System state is OK
1: System state is Warning
2: System state is Alert

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window