Standup 08/28/2008
- What's a good way to measure an application's memory usage (beyond top)? Ideally, this would provide summarized information (rather than a lot of raw data like Linux's /proc/pid/maps).
edit Posted by Jim Kingdon on Thursday August 28, 2008 at 04:20PM

This python script seems to work pretty well.
http://unixlive.editboard.com/general-linux-admin-stuff-f3/how-much-ram-is-used-per-program-t5.htm
remove
this seems a hard question to answer, I'm wondering what your scope would be?
I have an app where the Rails/mongrel portion is fairly efficient - but the data queries can be huge memory hogs. So excluding the db it's effecient.
But to answer the question, I'd look into a server monitoring tool. Not Monit but maybe something like Nagios... though I haven't really used it, that's where I would start.
remove