Hi I am looking for a way to measure memory occupied by a process at the time of exiting. I do not have source code of the binary for which this measurement is to be made. (If I had it, I could hook some code at exit point to read the memory data using one of many ways like system calls, ps command, reading /proc etc.)
The GNU time command (I have 1.7) seems to have an option to report such data, just the way it reports CPU time data. But memory related data is reported as 0 on my machine (i386, RH9), since it seems to require some support from underlying architecture. (man page says such data is available on BSD.) Is there any other way of getting this data? Mayuresh. -- ______________________________________________________________________ Pune GNU/Linux Users Group Mailing List: ([EMAIL PROTECTED]) List Information: http://plug.org.in/mailing-list/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
