Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 3


Summary

Properties
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

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


Properties

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

Methods

• 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


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