LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   maximum memory usage of a program (https://www.linuxquestions.org/questions/linux-general-1/maximum-memory-usage-of-a-program-748157/)

sancho1980 08-17-2009 10:10 AM

maximum memory usage of a program
 
hi

does any of you know whether there is a way to find out the high water mark in memory usage of a program started from the command line.
this program runs for only a very short time, so something along the lines of "time command" for memory would do (e.g. "mem command")

any ideas?

thanks
martin

jrtayloriv 08-18-2009 03:01 AM

You could use a profiling tool like Valgrind to do that.


All times are GMT -5. The time now is 11:02 PM.