Skip to main content

%Monitor.System.HistoryMemory

Class %Monitor.System.HistoryMemory Extends %Monitor.System.Adaptor [ System = 4 ]

%Monitor class to collect and manage part of the Monitor History Database. This class collects the SYS.History.HistoryMemory samples for the Shared Memory Heap Metrics, at a default interval of 300 seconds.

Properties

Day

Property Day As %Integer [ Internal ];

Keep track of last date to see of it's time to purge/summarize

Status

Property Status As %Monitor.String [ Internal ];

Status of last sample

Errors

Property Errors As %Integer [ Internal ];

Keep count of consecutive errors

LastTime

Property LastTime As %Integer;

Values to control sample times

Interval

Property Interval As %Integer [ InitialExpression = 300 ];

Interval between samples.

Methods

Startup

Method Startup() As %Status [ Internal ]

Initialize property values

Purge

ClassMethod Purge() As %Status [ Internal ]

Initialize

Method Initialize() As %Status [ Internal ]

Shutdown

Method Shutdown() As %Status [ Internal ]

GetSample

Method GetSample() As %Status

Get the basic SYS.History.PerfData sample for the Monitor History Database.