Home > Class Reference > %SYS namespace > %Monitor.System.Routines

%Monitor.System.Routines

class %Monitor.System.Routines extends %Monitor.System.Adaptor, %Monitor.System.Abstract, %Monitor.System.AbstractMetrics, %Monitor.System.AbstractGlobals

Monitor system metrics by routine.

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 AbstractMetrics and AbstractGlobals.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Directory as %Monitor.String;
Directory where routine is
Property methods: DirectoryDisplayToLogical(), DirectoryGet(), DirectoryIsValid(), DirectoryLogicalToDisplay(), DirectoryLogicalToOdbc(), DirectoryNormalize(), DirectorySet()
property RoutineName as %Monitor.String;
Name of routine
Property methods: RoutineNameDisplayToLogical(), RoutineNameGet(), RoutineNameIsValid(), RoutineNameLogicalToDisplay(), RoutineNameLogicalToOdbc(), RoutineNameNormalize(), RoutineNameSet()

Methods (Including Private)

method GetSample() as %Status [ Language = objectscript ]
Get routine 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 [ Language = objectscript ]
Initialize routine metrics.
method Startup() as %Status [ Language = objectscript ]
On Startup enable PERFMON

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)