Class Qualifiers for Performance Counter Classes

Class qualifiers specify information about the performance object to which the WMI performance counter class is mapped. For more information, see Monitoring Performance Data.

Performance counter–specific qualifiers are automatically attached by the WbemPerfClass provider to Win32_PerfRawData classes and properties in root\cimv2.

Windows Server 2003:  The performance counter qualifiers are automatically generated by the AutoDiscovery/AutoPurge (ADAP) process. For more information, see Performance Libraries and WMI.

This information applies to all instances of the class. Some qualifiers with Boolean values that are always False may not be present on specific classes.

Qualifiers for Raw and Formatted PerformanceClasses

The following qualifiers apply to all classes that are derived from Win32_PerfRawData and Win32_PerfFormattedData.

TermDescription

Cooked

boolean

Indicates whether the class contains cooked data.

DisplayName

string

Performance object name. For more information, see Performance Counters.

Windows Server 2003:  This qualifier is not used.

DetailLevel

sint32

Does not provide detail data. Always contains value of 100.

Dynamic

boolean

Always set to True because instances are always dynamic.

GenericPerfCtr

boolean

Indicates whether the class comes from a legacy performance library. Always set to True.

HelpIndex

sint32

Starting with Windows Vista, indexes are no longer valid. This qualifier is always zero.

Windows Server 2003:  Index in the performance names database of the help text for the object.

HiPerf

boolean

Indicates that the class is a high-performance class. Always set to True.

Locale

sint32

Locale identifier. Value is always 1033 (U.S. English).

PerfIndex

int32

Starting with Windows Vista, indexes are no longer valid. This qualifier is always zero.

Windows Server 2003:  Index in the performance names database of the display name for the object.

Provider

string

Name of the instance provider. Value is "WbemPerfV2".

Windows Server 2003:  Name of the instance provider. Value is "Nt5_GenericPerfProvider_V1".

RegistryKey

string

Name of the driver in the HKEY_LOCAL_MACHINE\CurrentControlSet\Services key, under which the performance key can be located. This name is also the name of the service that provides the performance counter.

Singleton

boolean

If True, indicates that only a single instance of the class exists.

Windows Server 2003:  Not used.

 

Qualifiers for Raw Performance Classes

The following qualifiers apply to all classes that are derived from Win32_PerfRawData.

TermDescription

Costly

boolean

Indicates whether obtaining instances of this class is a costly operation. Always set to True for classes with "_Costly" appended to the end of the class name.

DetailLevel

uint32

Does not provide detail data. Always contains value of 100.

PerfDefault

boolean

Value is always False.

Windows Server 2003:  Indicates whether this class should be a default selection if displayed in a list box.

 

Qualifiers for Formatted Performance Classes

The following qualifiers apply to all classes that are derived from Win32_PerfFormattedData.

TermDescription

AutoCook

int32

Indicates that the values in class instances are automatically calculated from the corresponding raw data class. Value is always 1.

AutoCook_RawClass

string

Name of the raw class to use for calculation for the formatted class. This qualifier is required.

 

Related topics

Monitoring Performance Data
Qualifiers Specific to WMI Performance Classes
Performance Counter Classes
Accessing WMI Preinstalled Performance Classes
WMI Tasks: Performance Monitoring

 

 

Show:
© 2014 Microsoft