Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %Monitor.System.Routines
Private  Storage   


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.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 3


BlkAlloc BpntBlkBuf BpntBlkRd BpntBlkWt BuffSent
DataBlkBuf DataBlkRd DataBlkWt DirBlkBuf DirBlkRd
DirBlkWt Directory IJCMsgRd IJCMsgWt IJCNetMsg
JrnEntry Kills LockCom LockFail LockSucc
MapBlkBuf MapBlkRd MapBlkWt NcacheHit NcacheMiss
NetGloKill NetGloRef NetGloSet NetLock NetReqSent
OthBlkBuf OthBlkRd OthBlkWt Refs Retransmit
RouBlkBuf RouBlkRd RouBlkWt RoutineName RtnFetch
RtnLine RtnLoad SeqRead SeqWrt Sets
TermChRd TermChWrt TermRead TermWrite TotBlkRd
UpntBlkBuf UpntBlkRd UpntBlkWt

%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
GetSample GetStat Initialize Name
SaveStat Shutdown Startup


• property Directory as %Monitor.String;
Directory where routine is
• property RoutineName as %Monitor.String;
Name of routine


• method GetSample() as %Status
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
Initialize routine metrics.
• method Startup() as %Status
On Startup enable PERFMON
An error occurred with the web application.

It has been logged to system error log (System Operation>System Logs>Application Error Log).