开发者

Select query of wmi used to view the process which has max usage of cpu

开发者 https://www.devze.com 2023-01-25 11:32 出处:网络
What is the query used to view the topmost process which is having maximum usage of CPU usi开发者_JAVA技巧ng WMI? Use Win32_PerfFormattedData_PerfProc_Process class.

What is the query used to view the topmost process which is having maximum usage of CPU usi开发者_JAVA技巧ng WMI?


Use Win32_PerfFormattedData_PerfProc_Process class.

Select IDProcess, Name, PercentProcessorTime from Win32_PerfFormattedData_PerfProc_Process

Once you have those informations you can sort by PercentProcessorTime. It should work fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消