BACK TO INDEX

CIM_Thread
Threads represent the ability to execute units of a process or task in parallel. A process can have many threads, each of which is weak to the process.
NameSpace Path
\ROOT\CIMV2
PROPERTYSMS_REPORTCIMTYPEDESCRIPTION
CaptionStringThe Caption property is a short textual description (one-line string) of the object.
CreationClassNameStringCreationClassName 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 allow all instances of this class and its subclasses to be uniquely identified.
CSCreationClassNameStringThe scoping computer system's creation class name.
CSNameStringThe scoping computer system's name.
DescriptionStringThe Description property provides a textual description of the object.
ExecutionStateUInt16Indicates the current operating condition of the thread. Values include ready (2), running (3), and blocked (4), among others.
HandleStringA string used to identify the thread.
InstallDateDateTimeThe InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.
KernelModeTimeUInt64Time in kernel mode, in milliseconds. If this information is not available, a value of 0 should be used.
NameStringThe Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.
OSCreationClassNameStringThe scoping operating system's creation class name.
OSNameStringThe scoping operating system's name.
PriorityUInt32Priority indicates the urgency or importance of execution of a thread. A thread may have a different priority than its owning process. If this information is not available for a thread, a value of 0 should be used.
ProcessCreationClassNameStringThe scoping process' CreationClassName.
ProcessHandleStringThe scoping process' Handle.
StatusStringThe Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.
UserModeTimeUInt64Time in user mode, in milliseconds. If this information is not available, a value of 0 should be used.
SAMPLE DATA INSTANCE
   [LOCALE(1033): ToInstance Amended]
   instance of Win32_Thread
   {
    CreationClassName = "Win32_Thread";
    CSCreationClassName = "Win32_ComputerSystem";
    CSName = "SCCM01";
    ElapsedTime = "12945994023000";
    Handle = "0";
    KernelModeTime = "164744843";
    OSCreationClassName = "Win32_OperatingSystem";
    OSName = "Microsoft Windows Server 2003 R2 Standard Edition|C:\\WINDOWS|\\Device\\Harddisk0\\Partition1";
    Priority = 0;
    PriorityBase = 0;
    ProcessCreationClassName = "Win32_Process";
    ProcessHandle = "0";
    StartAddress = 0;
    ThreadState = 2;
    ThreadWaitReason = 0;
    UserModeTime = "0";
   };