Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %Monitor.System.SystemMetrics
Private  Storage   

%Monitor.System.SystemMetrics


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

Monitor PERFMON metrics for the system.

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 level 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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary


Properties
BlkAlloc BpntBlkBuf BpntBlkRd BpntBlkWt BuffSent
DataBlkBuf DataBlkRd DataBlkWt DirBlkBuf DirBlkRd
DirBlkWt 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 RtnFetch RtnLine RtnLoad
SeqRead SeqWrt Sets TermChRd TermChWrt
TermRead TermWrite TotBlkRd UpntBlkBuf UpntBlkRd
UpntBlkWt

Methods
%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


Methods


• method GetSample() as %Status
Get system 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 system metrics
• method Startup() as %Status
On Startup enable PERFMON