Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%Monitor] >  [System] >  [SystemMetrics]
Private  Storage   

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.


Parameters Properties Methods Queries Indices ForeignKeys Triggers


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

%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


• 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

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.