[python-win32] win32pdhutil Processor Time always returns 99
tim.golden at viacom-outdoor.co.uk
Mon Dec 15 11:19:01 EST 2003
>From: Paul Weimer [mailto:Paul.Weimer at harlandfs.com]
>Sent: 15 December 2003 16:00
>To: 'Tim Golden'; 'Martin Beckett'
>Cc: 'python-win32 at python.org'
>Subject: RE: [python-win32] win32pdhutil Processor Time always returns
>Is there a way to use WMI (or something else) to track memory
>use? I can't
>see a property that would do it but I could be missing something.
I don't claim to be an expert on all things WMI; in cases like
this, I tend to go Googling because -- nearly always -- someone,
somewhere's done it before.
Depends a bit on what you mean. The Win32_OperatingSystem object has
several attributes which might help (FreePhysicalMemory, FreeVirtualMemory,
TotalVirtualMemorySize and so on) but they'd probably need interpreting.
MSDN has a reference set of all the classes and attributes which is worth
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
More information about the Python-win32