Determining the memory usage of a program

Peter Barker pbarker at barker.dropbear.id.au
Tue Feb 12 20:28:02 EST 2002


On Tue, 12 Feb 2002, Michael Still wrote:

> I have a program which takes quite a while to run, and eventually dies --

The best sort. Lots of coffee involved.

> I think because it runs out of memory. I would like a command where I can
> go:

Have I mentioned strace before? :-)

> and have it output stats when the program ends, much like time does for
> time.

Have you had a squiz at the man page for time?? :-)

> Does anyone know of such a program? Failing that, I had a little poke
> around in /proc/<pid> to see if there was something that told the amount



More information about the linux mailing list