Win32_PerfFormattedData_PerfProc_JobObject class
Applies to: desktop apps only
The Win32_PerfFormattedData_PerfProc_JobObject formatted data class provides pre-calculated data from performance counters that monitor accounting and processor usage data collected by each active named job object.
This class is shown as the Job Object object in System Monitor and returns the same data found in System Monitor. This class derives its raw data from the corresponding raw class Win32_PerfRawData_PerfProc_JobObject. The original data source is the PerfProc performance library. Data is dynamically provided for this class from the performance library object by the WmiPerfInst provider.
Windows Server 2003 and Windows XP: WMI data for this class is supplied by the Formatted Performance Data Provider.
The following syntax is simplified from MOF code and shows all of the inherited properties, including the Frequency and Timestamp properties required for class display in System Monitor. For more information about required property qualifiers, see Property Qualifiers for Performance Counter Classes. For more information about CounterType values, see WMI Performance Counter Types.
Syntax
class Win32_PerfFormattedData_PerfProc_JobObject : Win32_PerfFormattedData
{
string Caption;
uint64 CurrentPercentKernelModeTime;
uint64 CurrentPercentProcessorTime;
uint64 CurrentPercentUserModeTime;
string Description;
uint64 Frequency_Object;
uint64 Frequency_PerfTime;
uint64 Frequency_Sys100NS;
string Name;
uint32 PagesPerSec;
uint32 ProcessCountActive;
uint32 ProcessCountTerminated;
uint32 ProcessCountTotal;
uint64 ThisPeriodmSecKernelMode;
uint64 ThisPeriodmSecProcessor;
uint64 ThisPeriodmSecUserMode;
uint64 Timestamp_Object;
uint64 Timestamp_PerfTime;
uint64 Timestamp_Sys100NS;
uint64 TotalmSecKernelMode;
uint64 TotalmSecProcessor;
uint64 TotalmSecUserMode;
};
Members
The Win32_PerfFormattedData_PerfProc_JobObject class has these types of members:
Properties
The Win32_PerfFormattedData_PerfProc_JobObject class has these properties.
- Caption
-
- Data type: string
- Access type: Read-only
Short textual description for the statistic or metric. This property is inherited from CIM_StatisticalInformation.
- CurrentPercentKernelModeTime
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_100NSEC_TIMER") , Counter ("CurrentPercentKernelModeTime") , PerfTimeStamp ("TimeStamp_Sys100NS") , PerfTimeFreq ("Frequency_Sys100NS")
Percentage of the sample interval that the processes in the job object spent executing code in kernel or privileged mode.
For more information about using uint64 values in scripts, see Scripting in WMI.
- CurrentPercentProcessorTime
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_100NSEC_TIMER") , Counter ("CurrentPercentProcessorTime") , PerfTimeStamp ("TimeStamp_Sys100NS") , PerfTimeFreq ("Frequency_Sys100NS")
Percentage of the sample interval that the process in the job object spent executing code.
For more information about using uint64 values in scripts, see Scripting in WMI.
- CurrentPercentUserModeTime
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_100NSEC_TIMER") , Counter ("CurrentPercentUserModeTime") , PerfTimeStamp ("TimeStamp_Sys100NS") , PerfTimeFreq ("Frequency_Sys100NS")
Percentage of the sample interval that the processes in the job object spent executing code in user mode.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Description
-
- Data type: string
- Access type: Read-only
Textual description of the statistic or metric. This property is inherited from CIM_StatisticalInformation.
- Frequency_Object
-
- Data type: uint64
- Access type: Read-only
Frequency, in ticks per second, of Timestamp_Object. This property is defined by the provider. This property is inherited from Win32_Perf.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Frequency_PerfTime
-
- Data type: uint64
- Access type: Read-only
Frequency, in ticks per second, of Timestamp_Perftime. A value could be obtained by calling the Windows function QueryPerformanceCounter. This property is inherited from Win32_Perf.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Frequency_Sys100NS
-
- Data type: uint64
- Access type: Read-only
Frequency, in ticks per second, of Timestamp_Sys100NS (10000000). This property is inherited from Win32_Perf.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Name
-
Label by which the statistic or metric is known. When sub-classed, the property can be overridden to be a key property. This property is inherited from CIM_StatisticalInformation.
- PagesPerSec
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("PagesPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Page fault rate of all the processes in the job object.
- ProcessCountActive
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ProcessCountActive") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of processes that are currently associated with the job object.
- ProcessCountTerminated
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ProcessCountTerminated") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of processes that have been terminated because of a limit violation.
- ProcessCountTotal
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ProcessCountTotal") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of processes, both active and terminated, that are or have been associated with the job object.
- ThisPeriodmSecKernelMode
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("ThisPeriodmSecKernelMode") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of milliseconds of user mode processor time used by all the processes in the job object, including those that have terminated or are no longer associated with the job object, after the last time a time limit on the job was established.
For more information about using uint64 values in scripts, see Scripting in WMI.
- ThisPeriodmSecProcessor
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("ThisPeriodmSecProcessor") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of milliseconds of processor time used by all the processes in the job object, including those that have terminated or are no longer associated with the job object, after the last time a time limit on the job was established.
For more information about using uint64 values in scripts, see Scripting in WMI.
- ThisPeriodmSecUserMode
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("ThisPeriodmSecUserMode") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of milliseconds of user mode processor time used by all the processes in the job object, including those that have terminated or are no longer associated with the job object, after the last time a time limit on the job was established.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Timestamp_Object
-
- Data type: uint64
- Access type: Read-only
Object-defined timestamp, defined by the provider. This property is inherited from Win32_Perf.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Timestamp_PerfTime
-
- Data type: uint64
- Access type: Read-only
High Performance counter timestamp. A value could be obtained by calling the Windows function QueryPerformanceCounter. This property is inherited from Win32_Perf.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Timestamp_Sys100NS
-
- Data type: uint64
- Access type: Read-only
Timestamp value in 100 nanosecond units. This property is inherited from Win32_Perf.
For more information about using uint64 values in scripts, see Scripting in WMI.
- TotalmSecKernelMode
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("TotalmSecKernelMode") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of milliseconds of kernel mode processor time used by all the processes in the job object, including those that have terminated or are no longer associated with the job object, after the job object was created.
For more information about using uint64 values in scripts, see Scripting in WMI.
- TotalmSecProcessor
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("TotalmSecProcessor") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of milliseconds of processor time used by all the processes in the job object, including those that have terminated or are no longer associated with the job object, after the job object was created.
For more information about using uint64 values in scripts, see Scripting in WMI.
- TotalmSecUserMode
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("TotalmSecUserMode") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")
Number of milliseconds of user mode processor time used by all the processes in the job object, including those that have terminated or are no longer associated with the job object, after the job object was created.
For more information about using uint64 values in scripts, see Scripting in WMI.
Remarks
All classes derived from Win32_Perf are designed to be used with a refresher object. For more information about how to create and use a refresher object in C++, see Accessing Performance Data in C++. For more information about how to create and use a refresher object using scripts, see Refreshing WMI Data in Scripts.
All classes derived from Win32_Perf are designed to be used with a refresher object. For more information about how to create and use a refresher object in C++, see Accessing Performance Data in C++. For more information about how to create and use a refresher object using scripts, see Refreshing WMI Data in Scripts.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Namespace |
\root\CIMV2 |
|
DLL |
|
See also
- Performance Counter Classes
- Accessing WMI Preinstalled Performance Classes
- WMI Tasks: Performance Monitoring
- Accessing Performance Data in Script
Send comments about this topic to Microsoft
Build date: 3/9/2012