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

class %Monitor.System.Processes extends %Monitor.System.Adaptor, %Monitor.System.Abstract, %Monitor.System.AbstractGlobals

Monitor system metrics by process.

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 3


Summary

Properties
BlkAlloc BpntBlkBuf BpntBlkRd BpntBlkWt DataBlkBuf
DataBlkRd DataBlkWt DirBlkBuf DirBlkRd DirBlkWt
JrnEntry Kills MapBlkBuf MapBlkRd MapBlkWt
NcacheHit NcacheMiss NetGloKill NetGloRef NetGloSet
NetReqSent OthBlkBuf OthBlkRd OthBlkWt Pid
Refs RouBlkBuf RouBlkRd RouBlkWt Sets
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 Pid as %Monitor.Integer;
Process id

Methods

• method GetSample() as %Status
Get process 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 process 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.