<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 <<a href="mailto:nils.grotnes@gmail.com">nils.grotnes@gmail.com</a>> 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>
> You're not subtracting buffered and cached data. Linux aggressively<br>
> buffers written data and caches read data for potential future use.<br>
> This data is easily evicted from ram (usually without requiring<br>
> anything to be written to more permanent storage), thus not negatively<br>
> affecting performance.<br>
><br>
> For various reasons, Linux's accounting of how much ram is in use<br>
> isn't quite accurate, but you'll get a much closer number by running<br>
> 'free' in the terminal and looking at the "-/+ buffers/cache" line.<br>
<br>
</div>Htop is quite good at showing all three uses of memory, well worth a look.<br>
<br>
Don'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>