This class represents detailed system metrics captured for 'seizes' of system resources. More...
Static Public Member Functions | |
_.Library.Status | DisplayClose (_.Library.Binary qHandle) |
This class represents detailed system metrics captured for 'seizes' of system resources. More... | |
SYS.Stats.Resource | Sample (_.Library.Integer Index) |
Instantiate the class for a specific resource and fill in current values for all properties. More... | |
Public Attributes | |
Aseize | |
Number of Aseizes. More... | |
Bseize | |
Number of Bseizes. More... | |
BusySets | |
Number of BusySet. More... | |
Name | |
The name of the resource. More... | |
Nseize | |
Number of Nseizes. More... | |
Seize | |
Number of Seizes. More... | |
This class represents detailed system metrics captured for 'seizes' of system resources.
Each instance of the class represents a different resource which controls access to a different part of the system code. Examples are 'Pid' for the internal process table, 'Lock' for locking structures, 'Stat' for statistics, etc.
The current values for each class instance may be fetched using the Query 'Sample', and then the current value of each property can be accessed.
For example:
s sz="Name,Seize,Nseize,Aseize,Bseize,BusySet" ; list of properties s rset=##class(ResultSet).New("SYS.Stats.Resource:Sample") d rset.Execute() s len=$l(sz,",") ; list all resources and related seize counts while rset.Next() { f i=1:1:len w rset.Data($p(sz,",",i)) w:i<len "," w ! }
Metrics for InterSystems IRIS instance resource contention
|
static |
This class represents detailed system metrics captured for 'seizes' of system resources.
Each instance of the class represents a different resource which controls access to a different part of the system code. Examples are 'Pid' for the internal process table, 'Lock' for locking structures, 'Stat' for statistics, etc.
The current values for each class instance may be fetched using the Query 'Sample', and then the current value of each property can be accessed.
For example:
s sz="Name,Seize,Nseize,Aseize,Bseize,BusySet" ; list of properties s rset=##class(ResultSet).New("SYS.Stats.Resource:Sample") d rset.Execute() s len=$l(sz,",") ; list all resources and related seize counts while rset.Next() { f i=1:1:len w rset.Data($p(sz,",",i)) w:i<len "," w ! }
Metrics for InterSystems IRIS instance resource contention
|
static |
Instantiate the class for a specific resource and fill in current values for all properties.
'Index' is an integer from 1 to 'n' used to reference a specific resource. An index greater than 'n' returns a blank resource Name. To find a specific resource Name, you would loop through the Resource list starting at 1 until you find the Name (or reach a blank Name).
Allows for XML output of a single Resource instance.
Aseize |
Number of Aseizes.
Bseize |
Number of Bseizes.
BusySets |
Number of BusySet.
Name |
The name of the resource.
Nseize |
Number of Nseizes.
Seize |
Number of Seizes.