Class CIM_Process
extends CIM_EnabledLogicalElement

Each instance of the CIM_Process class represents a single instance of a running program. A user of the OperatingSystem will typically see a Process as an application or task. Within an OperatingSystem, a Process is defined by a workspace of memory resources and environmental settings that are allocated to it. On a multitasking System, this workspace prevents intrusion of resources by other Processes. Additionally, a Process can execute as multiple Threads, all which run within the same workspace.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_EnabledLogicalElement
   |
   +--CIM_Process

Direct Known Subclasses

CIM_UnixProcess

Class Qualifiers

NameData TypeValue
DescriptionstringEach instance of the CIM_Process class represents a single instance of a running program. A user of the OperatingSystem will typically see a Process as an application or task. Within an OperatingSystem, a Process is defined by a workspace of memory resources and environmental settings that are allocated to it. On a multitasking System, this workspace prevents intrusion of resources by other Processes. Additionally, a Process can execute as multiple Threads, all which run within the same workspace.
UMLPackagePathstringCIM::System::Processing
Versionstring2.10.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
CreationClassNamestring
DescriptionstringCreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.
Keybooleantrue
MaxLenuint32256
CreationDatedatetime
DescriptionstringTime that the Process began executing.
CSCreationClassNamestring
DescriptionstringThe scoping ComputerSystem's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_OperatingSystem.CSCreationClassName
CSNamestring
DescriptionstringThe scoping ComputerSystem's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_OperatingSystem.CSName
ExecutionStateuint16
DescriptionstringIndicates the current operating condition of the Process. Values include ready (2), running (3), and blocked (4), among others. The majority of the enumerated values are obvious. However, a few require additional explanation: 7 (Terminated) describes that a process has naturally completed 8 (Stopped) describes that a process has been prematurely 'stopped' by a user or other request 10 (Ready but Relinquished Processor) describes that a process is in the Ready state, but has voluntarily relinquished execution time to other processes. For example, this state may indicate a problem when the relinquishing process is not handling items on its queues. If these semantics cannot be detected, the process should report its state as 2 ("Ready"). 11 (Hung) indicates that a process is not responding and should therefore not be given further execution time.
MappingStringsstringMIF.DMTF|Process Information|001.9, MIF.UNIX|Process Information|13.9
ValueMapstring0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
ValuesstringUnknown, Other, Ready, Running, Blocked, Suspended Blocked, Suspended Ready, Terminated, Stopped, Growing, Ready But Relinquished Processor, Hung
Handlestring
DescriptionstringA string used to identify the Process. A Process ID is a kind of Process Handle.
Keybooleantrue
MappingStringsstringMIF.DMTF|Process Information|001.1
MaxLenuint32256
KernelModeTimeuint64
DescriptionstringTime in kernel mode, in milliseconds. If this information is not available, or if the operating system does not distinguish between time in kernel and in user mode, a value of 0 should be used.
MappingStringsstringMIF.DMTF|Process Information|001.13
UnitsstringMilliSeconds
Namestring
DescriptionstringThe name of the process.
MappingStringsstringMIF.DMTF|Process Information|001.6
MaxLenuint321024
OverridestringName
OSCreationClassNamestring
DescriptionstringThe scoping OperatingSystem's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_OperatingSystem.CreationClassName
OSNamestring
DescriptionstringThe scoping OperatingSystem's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_OperatingSystem.Name
OtherExecutionDescriptionstring
DescriptionstringA string describing the state - used when the instance's ExecutionState property is set to 1 ("Other"). Other ExecutionDescription should be set to NULL when the Execution State property is any value other than 1.
Priorityuint32
DescriptionstringPriority indicates the urgency or importance of execution of a Process. Lower values reflect more favorable process scheduling. If a priority is not defined for a Process, a value of 0 should be used.
MappingStringsstringMIF.DMTF|Process Information|001.10
TerminationDatedatetime
DescriptionstringTime that the Process was stopped or terminated.
UserModeTimeuint64
DescriptionstringTime in user mode, in milliseconds. If this information is not available, a value of 0 should be used. If the operating system does not distinguish between time in kernel mode and user mode, the time should be returned in this property.
MappingStringsstringMIF.DMTF|Process Information|001.14
UnitsstringMilliSeconds
WorkingSetSizeuint64
DescriptionstringThe amount of memory in bytes that a Process needs to execute efficiently, for an OperatingSystem that uses page-based memory management. If an insufficient amount of memory is available (< working set size), thrashing will occur. If this information is not known, NULL or 0 should be entered. If this data is provided, it could be monitored to understand a Process' changing memory requirements as execution proceeds.
Gaugebooleantrue
UnitsstringBytes

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
CommunicationStatusuint16CIM_ManagedSystemElement
DescriptionstringCIM_ManagedElement
DetailedStatusuint16CIM_ManagedSystemElement
ElementNamestringCIM_ManagedElement
EnabledDefaultuint16CIM_EnabledLogicalElement
EnabledStateuint16CIM_EnabledLogicalElement
HealthStateuint16CIM_ManagedSystemElement
InstallDatedatetimeCIM_ManagedSystemElement
InstanceIDstringCIM_ManagedElement
OperatingStatusuint16CIM_ManagedSystemElement
OtherEnabledStatestringCIM_EnabledLogicalElement
PrimaryStatusuint16CIM_ManagedSystemElement
RequestedStateuint16CIM_EnabledLogicalElement
StatusstringCIM_ManagedSystemElement
TimeOfLastStateChangedatetimeCIM_EnabledLogicalElement
TransitioningToStateuint16CIM_EnabledLogicalElement
AvailableRequestedStatesuint16[]CIM_EnabledLogicalElement
OperationalStatusuint16[]CIM_ManagedSystemElement
StatusDescriptionsstring[]CIM_ManagedSystemElement

Class Methods

Inherited Class Methods

NameReturn TypeClass Origin
RequestStateChangeuint32CIM_EnabledLogicalElement