Home > Class Reference > %SYS namespace > SYS.WSMon.wsProcess


class SYS.WSMon.wsProcess extends SYS.WSMon.wsResource, %SYS.ProcessQuery

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).


query List(Sort As %String = "COMMANDS", Number As %Integer = 10)
Selects Process As %Integer, UserName As %String, CurrentDevice As %String, Namespace As %String, Routine As %String, CommandsExecuted As %BigInt, GlobalReferences As %BigInt, State As %String, ClientName As %String, ClientExecutable As %String, ClientIPAddress As %String
Returns the top Processes as measured by the recent activity of either CommandsExecuted or GlobalReferences

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.

Inherited Members

Inherited Properties

Inherited Methods