<br><a href="http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html">http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html</a><br><br><br><div class="gmail_quote">
On Mon, Mar 23, 2009 at 1:17 PM, Jim Ockers <span dir="ltr"><<a href="mailto:ockers@ockers.net">ockers@ockers.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi CLUEbies,<br>
<br>
I wonder if anyone out there can help me understand process memory usage in Linux?<br>
I am trying to reconcile the memory usage information from 'top' with what is<br>
actually happening in the OS.<br>
<br>
It seems that something in the top numbers is out to lunch. I am wondering about<br>
how to interpret the linux memory usage information as reported by ps and top.<br>
<br>
Specifically, RSS, SIZE, SHARE, etc. I am trying to analyze some problematic<br>
systems performance and nobody on the 'net seems to understand exactly how to<br>
tell how much memory footprint a process has, exactly. My googling has turned<br>
up lots of questions and not very many answers.<br>
<br>
Is it just process executable code size? data too? What about the stack? What<br>
about X, which seems to map in video memory into the VM address space. I know<br>
how big the total VM pie is, and I need to figure out exactly how big of a slice<br>
of that pie each process is using, especially X.<br>
<br>
Does anyone know how to do this? Please feel free to chime in.<br>
<br>
Thanks,<br>
Jim<br>
<font color="#888888"><br>
--<br>
Jim Ockers, P.Eng. (<a href="mailto:ockers@ockers.net">ockers@ockers.net</a>)<br>
Contact info: please see <a href="http://www.ockers.net/" target="_blank">http://www.ockers.net/</a><br>
_______________________________________________<br>
clue-tech mailing list<br>
<a href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a><br>
<a href="http://www.cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br>
</font></blockquote></div><br>