system resource modules? (Win32, Irix)
Randall Hopper
aa8vb at yahoo.com
Tue Oct 5 07:45:01 EDT 1999
Sean Dunn:
|Are there any pre-coded system resource modules for Win32 and/or Irix?
|I have looked everywhere, and have started coding my own - but I want to
|avoid RTW...
|
|Basically, I need max physical memory, free physical memory, total
|virtual, free virtual... so far.
|And any other goodies that are cross-platform.
Don't know whether there are any in the python library, but in the
absense of any, look at ulimit (on UNIX/IRIX anyway):
>>> import os
>>> print os.popen('ulimit -m').read()
524288
>>> print os.popen('ulimit -f').read()
unlimited
--
Randall Hopper
aa8vb at yahoo.com
More information about the Python-list
mailing list