Class Reference
InterSystems: The power behind what matters   
Documentation  Search
 

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

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4


Summary

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
ExportXML Job Server StopJob
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType


Methods

• classmethod ExportXML(FileName As %String = "CacheMetrics.xml") as %Status
Export all current values for SYS.Stats Classes as an XML file.
• classmethod Job(File As %String, Interval As %Integer) as %String
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
Entry point for background job. Call ExportXML() in a loop, writing to file at specifed interval (in seconds).
• classmethod StopJob() as %Status
Stop the background XML Export job.


Copyright © 1997-2018, InterSystems Corporation