1

I am using WMI interface to get various counter values like memory/ disk/IO utilisations. I also got total percentage CPU utilisation using WIN32_Process class.

But I need percentage CPU utilisation per process. Please help me out with C/C++/VC++/JAVA code to do this.

I am using VS2010 as IDE.

  • see http://stackoverflow.com/questions/2415085/is-it-possible-to-know-the-cpu-utilization-from-command-line – bmeck Jan 25 '13 at 09:30

1 Answers1

0

This can be done through the performance counters API. It's not easy. Here are some articles which may help you:

Cosmin
  • 21,216
  • 5
  • 45
  • 60