Re: Get CPU usage of a single process in Windows



Tor Erik <torerik81@xxxxxxxxx> wrote:

This should be possible as Taskmanager tracks CPU usage for every
process... Anyone know how this can be done?

I answered this in the python-win32 mailing list. Task manager and perfmon
do this by using the performance counter APIs. Python-Win32 includes an
interface for that (import win32pdh), but I've never used it.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.