IRISLIB database
Globals Class Reference

Monitor system metrics by globals. More...

Inheritance diagram for Globals:
Collaboration diagram for Globals:

Public Member Functions

_.Library.Status GetSample ()
 Get global metric sample. More...
 
_.Library.Status Initialize ()
 Initialize global metrics.
 
_.Library.Status Startup ()
 On Startup enable PERFMON.
 

Public Attributes

 Directory
 Directory where Global is. More...
 
 GlobalName
 Name of the Global. More...
 
 Name
 Full Global name. More...
 

Detailed Description

Monitor system metrics by globals.



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.

Member Function Documentation

◆ GetSample()

_.Library.Status GetSample ( )

Get global 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.

Reimplemented in Clients.

Member Data Documentation

◆ Directory

Directory

Directory where Global is.

 

◆ GlobalName

GlobalName

Name of the Global.

 

◆ Name

Name

Full Global name.