Quoting Joe Landman (joe.landman@mscsoftware.com): > On Wed, 2002-04-03 at 03:44, Kris Boulez wrote: > > [...] > > > Does anyone on this list know how to evaluate the memory usage of a > > program running under Linux. We have a program that runs a long time > > There are a number of tools: time, memprof, memusage, sar, vmstat > > memprof (a RedHat-ism) and memusage are both reasonably good. memusage > comes in the glibc-common rpm from RedHat (for the 7.2 distribution). > > I use memusage like this > > memusage -p prime1.png -T -t ./prime1.pl 10101010121 > > and it builds a png plot for me of my memory usage as a function of > time. > > Memprof allows me to run a program as a child process and examine it as > it runs, or in its totality at completion. It is graphical. > These look promising. The fact that they don't have man pages associated with them doesn't make life easier :). Thanks for the info. Kris,