How to get memory usage on Windows?

Gerrit Muller gerrit.muller at philips.com
Mon Sep 23 06:19:56 EDT 2002


<...snip...>
>> Have a look at  \Python22\Lib\site-packages\win32\Lib\win32pdhutil.py,
<...snip...>
> >I will have to try this at work, on a windows2000 machine.
> 
> That's what I'd do.
> 
> Another option would be using calldll
> (see http://www.nightmare.com/software.html). This is more dangerous,
> but will most probably work on any win32 system.
> 
The original routine based on win32pdhutil.py works on windows2000!

May be I have to try the nightmare route at home :-)

thanks Gerrit

-- 
--------------------------------------------------------------------
Gerrit Muller                Philips Research Laboratories Eindhoven
Building:   WDC 2 - 007              Prof. Holstlaan 4
Phone: +31 40 27 45242               5656 AA  Eindhoven
Fax:   +31 40 27 45033               The Netherlands
mailto:gerrit.muller at philips.com
http://www.extra.research.philips.com/natlab/sysarch/index.html



More information about the Python-list mailing list