CPU metrics for a Windows ECS instance in Cloud Monitor may display 0 or negative values due to corrupted Windows performance counters. Use the lodctr /r command to repair them.
CPU metrics for an ECS instance in Cloud Monitor may show 0 or negative values while actual CPU usage is non-zero. Other metrics remain normal. This issue primarily affects Windows instances and is usually caused by corrupted Windows performance counters.
Run typeperf "\Processor(_Total)\% Processor Time" to check the performance counters. If the output shows "Error: No valid counters", the counters are corrupted. Run lodctr /r to repair them.