locked
WMI Counters Get Negative CPU Utilization RRS feed

  • Question

  • We have found a problem with some WMI raw performance data counters on Windows server 2016 build 14393 and Windows 2003 SP2. We found that some counters decrement  or Timestamp_Sys100NS not change with previous collectionso each recollection has a lower value that the previous value instead of getting bigger so this renders the calculations done after the recollection useless. For example, this happens in Win32_PerfRawData_PerfOS_Processor with the counter PercentProcessorTime, if we use WBemTest to get the values, we see that any new value of the counter is lower than the previous one, so when we try to get a formatted percentage based on the counter values we end getting an invalid negative percentage of processor time.

        Other counters affected are in Win32_PerfRawData_PerfDisk_PhysicalDisk:

        - PercentDiskTime
        - PercentDiskReadTime
        - PercentDiskWriteTime
        - AvgDiskQueueLength
        - AvgDiskReadQueueLength
        - AvgDiskWriteQueueLength

    Best regards,

    andy

    Friday, October 11, 2019 4:21 AM

All replies

  • You are posting in the wrong forum. This is somethi9ng you will have to contract MSSupport for. This is a forum for scripting issues and questions and not OS issues.


    \_(ツ)_/

    Friday, October 11, 2019 4:45 AM