getting memory information under NT

dank at deming.com dank at deming.com
Sat Jun 26 03:58:26 CEST 1999


In article <375E88A2.68C1F118 at opticominc.com>,
  Eric Renouf <erenouf at opticominc.com> wrote:
> Does anyone know of an easy way to get the the total physical memory
> and/or available memory on an NT system using Python 1.5.2?  Is there
a
> module that has functions for things like this already?
>
> Thanks,
> Eric Renouf
>
See function CeGlobalMemoryStatus() in module wincerapi, part of the
Python Win32 Extensions by Mark Hammond.  It is in the win32all download
available from www.python.org.  There is an example of usage in
demos\cerapi.py.

The win32 extensions also provide an interface to get performance
monitor data, which has several additional measures of memory usage.

Good luck,
Dan Knierim


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




More information about the Python-list mailing list