I am trying to find a way to join the Perf
table with the VMProcess
table, but there doesn't seem to be anything in common that I can join on.
Basically, I would like to find high resource consuming PIDs. The product we develop uses the same service/executable name for each running instance, so in the Perf
table I get InstanceNames
like Service#10
, Service#24
, etc. In the VMProcess
table, however, I can get much more granular and sort by ExecutablePath
or CommandLine
to determine which process is the culprit.
How can I join these two datasets? Or is there perhaps a better way to find process CPU utilization on Azure VM's? I do not want to run perfmon on each VM; I really need something from Log Analytics or Azure Monitor.
I know naming the executable or service uniquely would be a much better solution, but that is not something that the product team has prioritized so I need another way to sort out which PID is consuming the most CPU cycles.
Find High CPU Processes in Azure Log Analytics I thought was the answer, but it doesn't join on the VMProcess table so I still am a bit clueless on which process is consuming the most resources.