[英]How to read/get Virtual machine background processes using Kusto LOg query , Azure Monitor
Enable the perf counters for the process and you need to get the Process Names out of it by querying the perf table.为进程启用性能计数器,您需要通过查询性能表从中获取进程名称。
You can add the perf counter Process(*)\% Processor Time.您可以添加性能计数器 Process(*)\% Processor Time。 By going to Log Analytics instance -> Advanced Settings -> Windows Performance Counters.通过转到 Log Analytics 实例 -> 高级设置 -> Windows 性能计数器。 Then query these performance counters as below.然后查询这些性能计数器如下。
Perf |性能 | where ObjectName == "Process" |其中 ObjectName == "进程" | where CounterName contains "Processor Time" |其中 CounterName 包含“处理器时间” | summarize makelist(InstanceName) by Computer按计算机汇总 makelist(InstanceName)
And other alternate way is by using the service map feature refer this, you can query ServiceMapProcess_CL table https://learn.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-log-search .其他替代方法是使用服务地图功能参考此,您可以查询 ServiceMapProcess_CL 表https://learn.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-log-search 。
Let me know if this answers.让我知道这是否有答案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.