[python-win32] Get CPU usage of single process in Windows

2006-09-08 Thread Tor Erik Sønvisen
Hi, This should be possible as Taskmanager tracks CPU usage for every process... Anyone know how it can be done? regards ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Get CPU usage of single process in Windows

2006-09-08 Thread Tim Roberts
Tor Erik Sønvisen wrote: Hi, This should be possible as Taskmanager tracks CPU usage for every process... Anyone know how it can be done? TaskManager and perfmon get this information from the Win32 performance counters. Unfortunately, the performance counter API is a bit verbose.