Skip to main content

SYS.WSMon.wsProcess

Class SYS.WSMon.wsProcess Extends (SYS.WSMon.wsResource, %SYS.ProcessQuery) [ System = 4 ]

Information about Processes in a InterSystems IRIS instance. The List() query is used by the SYS.WSMon.Service.EnumProcess() Web method, to provide a list and details for the most active processes in the instance. The list may be sorted by the recent activity of either CommandsExecuted (roughly analogous to CPU used) or by GlobalReferences (database activity).

Methods

ListExecute

ClassMethod ListExecute(ByRef qHandle As %Binary, Sort, Number) As %Status [ Internal ]

Returns the top Processes as measured by the recent activity of either CommandsExecuted or GlobalReferences

Parameters:
Sort - sort by "COMMANDS" (default) or "GLOREFS"
Number - number of processes to list. Default is 10 and max is 50

Note that the evaluation of the actual 'top' process list is handled by the Application Monitor (%MONAPP) using the %Monitor.System.Dashboard2 class. This is 'on' by default and can be managed using the %MONAPPMGR utility. Also, the counts of CommandsExecuted and GlobalReferences returned are for the latest sample period and not the total for the life of the process.

ListFetch

ClassMethod ListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status [ Internal ]

ListClose

ClassMethod ListClose(ByRef qHandle As %Binary) As %Status [ Internal ]