Get CPU usage of a single process in Windows
Tim Golden
tim.golden at viacom-outdoor.co.uk
Fri Sep 8 13:42:08 EDT 2006
Tor Erik wrote:
> Hi,
>
> This should be possible as Taskmanager tracks CPU usage for every
> process... Anyone know how this can be done?
>
WMI can probably do the trick. If you can find something on Google
for wmi cpu usage (or something similar) then translation to Python's
usually quite easy. I'm fairly sure I've got an example somewhere, but
I can't lay my hands on it at the mo.
TJG
More information about the Python-list
mailing list