If only the CPU-related metrics of an ECS instance running Windows have abnormal values, such as 0 or a negative value, the performance counter in Windows may have been damaged.

You can run the typeperf "\Processor(_Total)\% Processor Time" command to check whether the performance counter is normal. If an error message is returned, indicating that no performance counter is available, the performance counter is damaged. You can run the lodctr /r command to fix the performance counter.