[clue-tech] understanding Linux process memory usage?

chris fedde chris at fedde.us
Mon Mar 23 14:36:03 MDT 2009


http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html


On Mon, Mar 23, 2009 at 1:17 PM, Jim Ockers <ockers at ockers.net> wrote:

> Hi CLUEbies,
>
> I wonder if anyone out there can help me understand process memory usage in
> Linux?
> I am trying to reconcile the memory usage information from 'top' with what
> is
> actually happening in the OS.
>
> It seems that something in the top numbers is out to lunch.  I am wondering
> about
> how to interpret the linux memory usage information as reported by ps and
> top.
>
> Specifically, RSS, SIZE, SHARE, etc.  I am trying to analyze some
> problematic
> systems performance and nobody on the 'net seems to understand exactly how
> to
> tell how much memory footprint a process has, exactly.  My googling has
> turned
> up lots of questions and not very many answers.
>
> Is it just process executable code size?  data too?  What about the stack?
>  What
> about X, which seems to map in video memory into the VM address space.  I
> know
> how big the total VM pie is, and I need to figure out exactly how big of a
> slice
> of that pie each process is using, especially X.
>
> Does anyone know how to do this?  Please feel free to chime in.
>
> Thanks,
> Jim
>
> --
> Jim Ockers, P.Eng. (ockers at ockers.net)
> Contact info: please see http://www.ockers.net/
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20090323/036b4006/attachment.html


More information about the clue-tech mailing list