Skip to main content

SYS.History.SystemUsage

Class SYS.History.SystemUsage Extends %SerialObject [ System = 4 ]

A list of System Usage properties for the SysData interval collection class.

For details, see History Monitor.

Properties

Processes

Property Processes As %Numeric;

Process count

CSPSession

Property CSPSession As %Numeric;

Count of CSP Sessions

LicUsedLocal

Property LicUsedLocal As %Numeric;

License count currently used (local)

LicUsedDist

Property LicUsedDist As %Numeric;

License count currently used (distributed)

CPUKernel

Property CPUKernel As %Numeric;

Percentage of system CPU(s) time in kernel mode.

CPUUser

Property CPUUser As %Numeric;

Percentage of system CPU(s) time in user mode.

CPUIdle

Property CPUIdle As %Numeric;

Percentage of system CPU(s) time idle.

CPUIOwait

Property CPUIOwait As %Numeric;

Percentage of system CPU(s) time in io_wait mode.

JrnFiles

Property JrnFiles As %Numeric;

Number of Journal files

JrnSize

Property JrnSize As %Numeric;

Total size of Journal files (in MB)

ECPResponse

Property ECPResponse As %Numeric;

ECP Response time

AppErrors

Property AppErrors As %Numeric;

Application error count, taken from %Monitor.System.Dashboard2 class

Alerts

Property Alerts As %Numeric;

Serious alert count, taken from %Monitor.System.Dashboard1 class

GlobalBuffers

Property GlobalBuffers As %List;

A list of the top 10 globals in the buffer pool. Each entry in the list is GlobalName,Database,Percent.

Methods

PropList

ClassMethod PropList() As %String [ Internal ]

Fetch a list of detail properties for this class for Hourly and Daily summaries

SetSummary

ClassMethod SetSummary(ByRef Function As %String, Period As %String) As %Status

Configure the summary methods for this class for either the Hourly or Daily summaries. This is a comma-delimited list of functions to use for the summary. The available functions are Average, Maximum (high-water mark), Minimum (lowest value), Standard Deviation, Median, and Total. These are abbreviated in the 'Function' argument as "Avg", "Max", "Min", StDev", Med", and "Tot". If nothing is specified, the default is "Avg,Max,StDev". You may also specify the string "None" for a summary period to disable that summary.

A null 'Function' argument will return the current summary setting in the 'Function' variable.

The 'Period' argument can be either "Hourly" or "Daily".