<div dir="ltr">top(1) shows data from the same source as free(1) does.<br><br>/proc/vmstat is the source.<br><br><br><div class="gmail_quote">On Thu, Jul 24, 2008 at 12:14 PM, Nils R Grotnes &lt;<a href="mailto:nils.grotnes@gmail.com">nils.grotnes@gmail.com</a>&gt; 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 Tim.<br>
<div class="Ih2E3d"><br>
&gt; You&#39;re not subtracting buffered and cached data. &nbsp;Linux aggressively<br>
&gt; &nbsp;buffers written data and caches read data for potential future use.<br>
&gt; &nbsp;This data is easily evicted from ram (usually without requiring<br>
&gt; &nbsp;anything to be written to more permanent storage), thus not negatively<br>
&gt; &nbsp;affecting performance.<br>
&gt;<br>
&gt; &nbsp;For various reasons, Linux&#39;s accounting of how much ram is in use<br>
&gt; &nbsp;isn&#39;t quite accurate, but you&#39;ll get a much closer number by running<br>
&gt; &nbsp;&#39;free&#39; in the terminal and looking at the &quot;-/+ buffers/cache&quot; line.<br>
<br>
</div>Htop is quite good at showing all three uses of memory, well worth a look.<br>
<br>
Don&#39;t know how accurate it is though. Any thoughts on that?<br>
<font color="#888888"><br>
Nils<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
support mailing list<br>
<a href="mailto:support@lists.openmoko.org">support@lists.openmoko.org</a><br>
<a href="https://lists.openmoko.org/mailman/listinfo/support" target="_blank">https://lists.openmoko.org/mailman/listinfo/support</a><br>
</div></div></blockquote></div><br></div>