Class Reference
InterSystems: The power behind what matters   
Documentation  Search
 

class SYS.Stats.Global extends SYS.WSMon.wsResource

This class represents system metrics captured for globals. Each property is a different metric. A class may be instantiated by calling the class method 'Sample', and then the current value of each property can be accessed.

For example:

	s ref=##class(SYS.Stats.Global).Sample()
	w ref.RefLocal ; display number of local global references
System stats for Global activity

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
18 4 1


Summary

Properties
JrnBlocks JrnEntries LogicalBlocks PhysBlockReads
PhysBlockWrites RefLocal RefPrivate RefRemote
RefUpdateLocal RefUpdatePrivate RefUpdateRemote ThrottleCnt
ThrottleCur ThrottleMax UpdateCnt UpdateLock
WDQueueSize WDWake

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
Sample XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Properties

• property JrnBlocks as %Integer;
Journal Block Writes. Number of 64-KB journal blocks written to the journal file.
• property JrnEntries as %Integer;
Journal Entries. Number of journal records created, one for each database modification (Set , Kill, etc.) or transaction event (TStart, TCommit) or other event that is saved to the journal.
• property LogicalBlocks as %Integer;
Logical block requests. The number of database blocks read by the global database code.
• property PhysBlockReads as %Integer;
Physical block reads. The number of physical database blocks read from disk.
• property PhysBlockWrites as %Integer;
Physical block writes. The number of physical database blocks written to disk.
• property RefLocal as %Integer;
Local global references. The count of all global accesses to a local database.
• property RefPrivate as %Integer;
Private global references. The count of all process private global accesses.
• property RefRemote as %Integer;
Remote global references. The count of all global accesses to a remote database..
• property RefUpdateLocal as %Integer;
Local global update references. The count of local global references that are Sets, Kills, or $Increments.
• property RefUpdatePrivate as %Integer;
Private global update references. The count of private global references that are Sets, Kills, or $Increments.
• property RefUpdateRemote as %Integer;
Remote global update references. The count of remote global references that are Sets, Kills, or $Increments.
• property ThrottleCnt as %Integer;
Global Throttle Count. The number of jobs required to wait for the throttle on this configuration.
• property ThrottleCur as %Integer;
Global Throttle Current. The number of jobs currently counted as 'in global' for this configuration.
• property ThrottleMax as %Integer;
Global Throttle Maximum. The maximum number of jobs to allow 'in global' on this configuration.
• property UpdateCnt as %Integer;
Global Update Count. The number of users currently doing global updates (ijucnt) in this configuration.
• property UpdateLock as %Boolean;
Global Update Lock. An indicator that the Write Demon has suspended global updates (1/0) in this configuration.
• property WDQueueSize as %Integer;
The number of blocks waiting to be written by the Write Daemon
• property WDWake as %Integer;
Indicates whether the system Write Daemon is running ('1') or not ('0')

Methods

• classmethod Sample() as SYS.Stats.Global
Instantiate the class and fill in current values for all properties.

Queries

• query ByDatabase(Names As %List = "")
Selects Database As %String, PhysBlockReads As %Integer, PhysBlockWrites As %Integer
Fetch PhysBlockReads and PhysBlockWrites collected for each Cache database.

You may pass a $LIST of databases (directories) in 'Names' to select specific databases.


Copyright © 1997-2018, InterSystems Corporation