SYS.WSMon.wsProcess
class SYS.WSMon.wsProcess extends SYS.WSMon.wsResource, %SYS.ProcessQuery
Information about Processes in a Cache 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).Queries
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
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.
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.
Inherited Members
Inherited Properties
- CSPSessionID
- CanBeExamined
- CanBeSuspended
- CanBeTerminated
- CanReceiveBroadcast
- ClientExecutableName
- ClientIPAddress
- ClientNodeName
- CommandsExecuted
- CurrentDevice
- CurrentLineAndRoutine
- CurrentSrcLine
- DataBlockWrites
- EscalatedRoles
- GlobalBlocks
- GlobalDiskReads
- GlobalReferences
- GlobalUpdates
- InTransaction
- IsGhost
- JobNumber
- JobType
- JournalEntries
- LastGlobalReference
- LicenseUserId
- LinesExecuted
- Location
- LoginRoles
- MemoryAllocated
- MemoryPeak
- MemoryUsed
- NameSpace
- OSUserName
- OpenDevices
- Pid
- PidExternal
- PrincipalDevice
- Priority
- PrivateGlobalBlockCount
- PrivateGlobalReferences
- PrivateGlobalUpdates
- Roles
- Routine
- StartupClientIPAddress
- StartupClientNodeName
- State
- Switch10
- UserInfo
- UserName
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- ExamStackByPid()
- GetCPUTime()
- GetLoginRoutine()
- GetOSUsername()
- GetOpenDevices()
- Help()
- KillAllPrivateGlobals()
- NextProcess()
- Open()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()