maximum memory usage

From: Kevin Partin (
Date: 02/28/04

Date: 27 Feb 2004 19:30:54 -0800

Can anyone provide me with a method in C to determine the maximum
memory usage for a process and its children? I am developing my
application on Linux. I would like something that is generic as
possible to fascilitate portability, but I also realize this might not
be possible.

Thank you,