PerformanceCounterType.RateOfCountsPerSecond64 always 0 when accessed by WMI -
03-02-2007
, 07:09 AM
When I try to view rate counters created in .NET using WMI (either VB
scripting or a 3'rd party tool such as Application Manager), these
counters are always 0. If I look at them via Perfmon (Iocal or
remotely) they are calculated correctly as the per second difference.
It also appears as 0 if I use the CIM Schema viewer and look at
instances of the counters.
If I change the counter back to
PerformanceCounterType.NumberOfItems64, the cumulative value is
displayed correctly. It appears that the calculated value for a rate
counter is not correctly displayed or presented in WMI.
Has anyone seen this problem, or know of the correct way to access
rate counters via WMI? |