%SYS.Monitor
hidden class %SYS.Monitor extends %Library.RegisteredObject
Controling class for Ssystem Monitor. Used to start and stop System Monitor process.Method Inventory
- AddComponentClass()
- CalcSignif()
- CalcStats()
- DebugLev()
- DeleteStartNS()
- Enabled()
- InitializeDB()
- Interval()
- IsComponent()
- IsUp()
- KeepDashboardDays()
- ListStartNS()
- Lock()
- RemoveComponentClass()
- ResetDefault()
- SetStartNS()
- Start()
- StartSystemMonitorUserNS()
- State()
- Stop()
- StudentTTest()
- Unlock()
Methods
Add class to Monitor
classmethod CalcSignif(Tval, Degrees, ByRef NullProbability As %String)
Returns NullProbability = 0: Null hypothesis < 90% probability
Returns NullProbability = 1: Null hypothesis < 95% probability
Returns NullProbability = 2: Null hypothesis < 99% probability
Returns NullProbability = 3: Null hypothesis < 99.9% probability
Returns NullProbability = 4: Null hypothesis > 99.9% probability
classmethod CalcStats(ByRef Readings As %List, ByRef Mean As %Integer, ByRef Sigma2 As %Integer) as %Status
Calculate mean and standard deviation squared based on list of values
System Monitor debug level. Setting to '1' will cause %SYS.Monitor.Control to save
SystemSensors as %SYS.Monitor.SensorReading objects.
Remove a System Monitor startup namespace
Disable / Enable System Monitor
classmethod InitializeDB() as %Status
System Monitor sample interval
Check if class is a component of System Monitor
classmethod IsUp() as %Integer
Check if System Monitor is running
Set number of days of Dashboard history to keep. Default is 5 days. Returns current number of days.
List System Monitor startup namespaces
classmethod Lock() as %Boolean
System Monitor Lock
Remove component class from Monitor
classmethod ResetDefault() as %Status
Reset all system monitor configuration data to default values
Set a System Monitor startup namespace
classmethod Start() as %Status
Main classmethod
classmethod StartSystemMonitorUserNS() as %Status
Start System Monitor in user namespaces where %MONAPP is active
classmethod State() as %String
Get the state for a subscriber
Return: 0 - not running, -1 - unexpected error, else string with state information.
classmethod Stop() as %Integer
Stop the System monitor
classmethod StudentTTest(Readings1 As %List, Readings2 As %List, ByRef Mean1 As %Integer, ByRef Mean2, ByRef Sigma1 As %Integer, ByRef Sigma2 As %Integer, ByRef TVal, ByRef Degree, ByRef Result) as %Status
Perform the Student T-Test for 2 sets of data. Result is a string giving probability that the means of the two sets are significantly (statistically) different.
classmethod Unlock() as %Boolean
System Monitor Unlock
Inherited Members
Inherited 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()