How can i get cpu usage of any application from java program using wmi query.I use jacob api for accessing wmi.
Asked
Active
Viewed 648 times
1 Answers
0
Please take a look here: How to know the CPU and memory usage of a process with WMI?
Seems like
Select Name,PercentProcessorTime from Win32_PerfFormattedData_PerfProc_Process
should work for you.