Skip to main content

%Monitor.System.Globals

class %Monitor.System.Globals extends %Monitor.System.Adaptor, %Monitor.System.Abstract, %Monitor.System.AbstractGlobals

Monitor system metrics by globals.

This class, and others that inherit from %Monitor.System.Abstract, provides an object API to the same system metrics as the ^PERFMON utility. Instantiating this class also starts the collection of ^PERFMON system metrics, which can have a significant impact on a busy system. Note that stopping ^PERFMON will also disable the sampling here.

Properties are inherited from AbstractGlobals.

Property Inventory

Method Inventory

Properties

property Directory as %Monitor.String;
Directory where Global is
Property methods: DirectoryDisplayToLogical(), DirectoryGet(), DirectoryIsValid(), DirectoryLogicalToDisplay(), DirectoryLogicalToOdbc(), DirectoryNormalize(), DirectorySet()
property GlobalName as %Monitor.String;
Name of the Global
Property methods: GlobalNameDisplayToLogical(), GlobalNameGet(), GlobalNameIsValid(), GlobalNameLogicalToDisplay(), GlobalNameLogicalToOdbc(), GlobalNameNormalize(), GlobalNameSet()
property Name as %Monitor.String;
Full Global name
Property methods: Name(), NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()

Methods

method GetSample() as %Status
Get global metric sample A return code of $$$OK indicates there is a new sample instance. A return code of 0 indicates there is no sample instance.
method Initialize() as %Status
Initialize global metrics
method Startup() as %Status
On Startup enable PERFMON

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab