This class provides an overview of the system "health", with all of the critical
metrics and statuses gathered as properties in one class. It essentially contains
all of the data that's available on the Dashboard in the System Management Portal.
Each property is a different metric or status.
Most of the data is collected by an instance of the Application Monitor running in the %SYS namespace. You must have the %Monitor.System.Dashboard classes "active" to collect the data (see ^%MONAPPMGR for details).
A class may be instantiated by calling the class method 'Sample', and then the current value of each property can be accessed.
s ref=##class(SYS.Stats.Dashboard).Sample() w ref.GloRefsPerSec ; display number of global references per second
Number of application errors that have been logged.
Most recent number of CSP sessions.
Most recently measured cache efficiency (Global references / (physical reads + writes))
Indicates whether there is a reasonable amount of diskspace available for database files. Possible values are "Normal", "Warning" (<5MB) or "Troubled" (<2MB)
Number of physical block read operations since system startup.
Number of physical block write operations since system startup
Summary status of ECP application servers connected to this system.
Most recently measured ECP application server traffic in bytes/second.
Summary status of ECP data servers this system is connected to.
Most recently measured ECP data server traffic in bytes/second.
Number of Global references since system startup.
Most recently measured number of Global references per second.
Number of Global Sets and Kills since system startup.
Number of entries written to the system journal since system startup.
Indicates whether there is a reasonable amount of diskspace available for journal files. Possible values are "Normal", "Warning" (<250MB) or "Troubled" (<50MB)
Indicates the current status of the database journaling. Possible values are "Normal", "Disabled", "Suspended", "Frozen", "Paused", "Unknown".
Date and time of last system backup.
Current count of license units being used.
License usage as a percentage of available license units.
Highest count of license units used.
Highest license usage as a percentage of available license units.
Maximum allowed license units for this system.
Text description of license type for this system.
Indicates the current status of the system Lock Table based on percentage used. Possible values are "Normal", "Warning" (>85%) or "Troubled" (>95%)
Number of logical block requests since system startup.
Most recent number of running processes.
Number of routine loads and saves since system startup.
Number of serious alerts that have been raised.
Summary status of shadows configured on this shadow server. Values from SYS.Shadowing class queries.
Summary status of shadow connections on this data source. Values from SYS.Shadowing class queries.
Elapsed time since this system was started.
Indicates the current status of the system Write Daemon. Possible values are "Normal" or "Troubled" (based on lack of movement in queue)
Instantiate the class and fill in current values for all properties.