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