Monitoring memory use

Ben Scott dragonhawk at gmail.com
Fri Sep 21 09:58:06 EDT 2007


On 9/21/07, Kent Johnson <kent37 at tds.net> wrote:
> There is also the Python library function
> resource.getrusage() but it doesn't seem to help - the ru_maxrss
> parameter is always 0.

  getrusage(2) on my CentOS 5 box says most of the rusage fields are
not implemented in the Linux kernel.  That being one of them.  Too
bad, 'cause otherwise, according to what the man page says, the
solution would be almost trivial. :-(

-- Ben


More information about the gnhlug-discuss mailing list