[python-win32] Measuring cpu, memory and bandwith used by an application

Tim Golden tim.golden at viacom-outdoor.co.uk
Tue Aug 29 18:16:20 CEST 2006


[Tor Erik Sønvisen]

| Given a process id (or some other identificator), is it possible to 
| monitor resource usage of that process only?

Sorry, very quick answer. You can do this sort of thing
fairly easily with WMI. If you Google around for Wmi
process monitoring, you'll probably find VBS examples which
will be quite easy to port to Python.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


More information about the Python-win32 mailing list