bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

does getrusage() return values for maxrss?


From: Mark Calder
Subject: does getrusage() return values for maxrss?
Date: Wed, 13 Feb 2002 23:06:02 -0800 (PST)

Hello I've tried to use getrusage() on a child program
and found that the memory size reported is 0.  Is this
function fully implemented?  I've since written a
program which reads /proc/pid/statm and gets the
memory usage of the child that way.  However the
documentation gives me the impression that getrusage()
would be more convenient.  I currently have
glibc-2.1.3-22 on redhat 6.2, kernel 2.2.19 and gcc
2.95.2.

Thanks for your help, Mark Calder

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]