| 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 | |||
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| Caption | String | The Caption property is a short textual description (one-line string) of the object. | |
| CreationClassName | String | CreationClassName 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. | |
| CSCreationClassName | String | The scoping computer system's creation class name. | |
| CSName | String | The scoping computer system's name. | |
| Description | String | The Description property provides a textual description of the object. | |
| ExecutionState | UInt16 | Indicates the current operating condition of the thread. Values include ready (2), running (3), and blocked (4), among others. | |
| Handle | String | A string used to identify the thread. | |
| InstallDate | DateTime | The 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. | |
| KernelModeTime | UInt64 | Time in kernel mode, in milliseconds. If this information is not available, a value of 0 should be used. | |
| Name | String | The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property. | |
| OSCreationClassName | String | The scoping operating system's creation class name. | |
| OSName | String | The scoping operating system's name. | |
| Priority | UInt32 | Priority 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. | |
| ProcessCreationClassName | String | The scoping process' CreationClassName. | |
| ProcessHandle | String | The scoping process' Handle. | |
| Status | String | The 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. | |
| UserModeTime | UInt64 | Time 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";    }; | |||