Discussion:
mapping between perfmon object names and WMI object names(class na
(too old to reply)
GilBa
2009-04-05 00:17:01 UTC
Permalink
Hi,
I'm trying to map the class names under Win32_PerfRawData into their display
name, AKA their name under perfmon. I'm sure that this is possible because
the correct display names appear in perfmon when the latter is activated with
/wmi flag. However, I couldn't find any way to extract the corresponding
perfmon names of these perfmon WMI classes.

thanks,
Gil.
GilBa
2009-04-07 11:24:05 UTC
Permalink
Ok, found it...

the mapping lies under the qualifier DisplayName that a WMI class that
represents a perfmon object has. However, the tricky part is that in order to
access that qualifier one must enable the flag
WBEM_FLAG_USE_AMENDED_QUALIFIERS which tells WMI to bring also locale
specific qualifiers which DisplayName is one of.

thanks,
Gil.
Post by GilBa
Hi,
I'm trying to map the class names under Win32_PerfRawData into their display
name, AKA their name under perfmon. I'm sure that this is possible because
the correct display names appear in perfmon when the latter is activated with
/wmi flag. However, I couldn't find any way to extract the corresponding
perfmon names of these perfmon WMI classes.
thanks,
Gil.
Loading...