Standup 08/28/2008

edit Posted by Jim Kingdon on Thursday August 28, 2008 at 04:20PM

  • 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).

Comments

  1. MrChucho MrChucho on August 28, 2008 at 05:41PM

    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

  2. andy andy on August 29, 2008 at 04:02PM

    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.

Add a Comment (MarkDown available)