resource module broken?
Carsten Gaebler
clpy at snakefarm.org
Wed Dec 12 12:04:48 EST 2001
Hi there,
if I got the docs right, the following tells me that my python
interpreter doesn't consume any memory:
>>> import resource
>>> resource.getrusage(resource.RUSAGE_SELF)
(0.069999999999999993, 0.0, 0, 0, 0, 0, 139, 482, 0, 0, 0, 0, 0, 0, 0,
0)
>>>
Elements 3, 4 and 5 denote the memory usage but are all zero. Can't be
true, right?
Regards
Carsten.
--
The looneys are out there - join SETI at home.
More information about the Python-list
mailing list