Hello,
Azure Monitor - VM Insights, will not collect data about the CPU usage of each process on the monitored VMs.
To achieve this, I would recommend you to:
- Create a new Data Collection Rule in Azure Monitor and configure it to collect (from your important VMs) the Process - %Processor Time performance counter for All Instances, then configure this Data Collection Rule to send the collected data to your Log Analytics Worksapce.
The above Data Collection Rule will work by pushing the Azure Monitor Agent (new agent) to all the targeted VMs (automatically).
After this, you should get records about how much Processor time each process from the targeted machines is consuming, and this data will be presented in the Perf table in your log analytics workspace, from where you can make use of the article you shared initially.
I hope it helps!
BR,
George