HighTechTalks DotNet Forums  

PerformanceCounterType.RateOfCountsPerSecond64 always 0 when accessed by WMI

Dotnet Framework (Performance) microsoft.public.dotnet.framework.performance


Discuss PerformanceCounterType.RateOfCountsPerSecond64 always 0 when accessed by WMI in the Dotnet Framework (Performance) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
gftb
 
Posts: n/a

Default 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?


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.