Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-17-2009, 11:10 AM   #1
Registered: May 2006
Location: Leipzig, Germany
Distribution: Kanotix 64
Posts: 45

Rep: Reputation: 15
maximum memory usage of a program


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?

Old 08-18-2009, 04:01 AM   #2
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
You could use a profiling tool like Valgrind to do that.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to measure maximum memory usage of XYZ application? Grawp Linux - Software 1 02-21-2009 09:46 AM
Identify program memory usage from command line MikeyCarter Linux - Software 1 03-04-2008 12:16 PM
which program will monitor another programs memory usage? zidane_tribal Linux - Software 3 06-17-2006 06:56 PM
Memory usage of openGL program cjp Programming 3 09-09-2004 07:28 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 05:45 AM

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration