QuestionQ43

Monitor and troubleshoot Windows Server environments

You have an Azure virtual machine named VM1 that runs Windows Server and hosts a line-of-business (LOB) application.

Azure Monitor metrics show a recurring CPU spike on VM1. The current metrics do not indicate which process consumes CPU during the spike.

You plan to use a scheduled Data Collector Set named DataCollector1 to gather data during the spike window.

You need to identify the process responsible for the CPU spike.

Which counters should you add to DataCollector1?

Explanation

Process(*)\% Processor Time records CPU consumption for each process instance, enabling the process with elevated CPU use during the spike to be identified. Processor Information(_Total)\% Processor Time records overall processor utilization for correlation with that interval. In contrast, Process(_Total)\% Processor Time is an aggregate and cannot distinguish the individual process responsible. Microsoft documents that Process(X)\% Processor Time represents CPU use by all threads of process X.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!