InterSystems IRIS Data Platform 2020.4 > Class Reference > %SYS namespace > SYS.Stats.Manager

SYS.Stats.Manager

class SYS.Stats.Manager extends %Library.RegisteredObject, %XML.Adaptor

Methods for controlling and exporting the system metrics as a group.

Method Inventory (Including Private)

Methods (Including Private)

classmethod ExportXML(FileName As %String = "IRISMetrics.xml") as %Status [ Language = objectscript ]
Export all current values for SYS.Stats Classes as an XML file.
classmethod Job(File As %String, Interval As %Integer) as %String [ Language = objectscript ]
Start a background job to export XML metrics periodically. Calls SYS.Stats.Manager.Server() as job entry point. Returned value is ID of child process if successful, or "0" if not.
classmethod Server(File As %String, Interval As %Integer = 300) as %Status [ Language = objectscript ]
Entry point for background job. Call ExportXML() in a loop, writing to file at specifed interval (in seconds).
classmethod StopJob() as %Status [ Language = objectscript ]
Stop the background XML Export job.

Inherited Members

Inherited Methods (Including Private)

Feedback