On Thu, 2004-04-22 at 00:24, [EMAIL PROTECTED] wrote:
> [ ... output from `top` ... ]

It may be simplistic to say so, but the one thing that top doesn't do is
what `free` does - do the math:

sirius:~ $ free
             total       used       free     shared    buffers     cached
Mem:        515168     495068      20100          0      37104     196644
-/+ buffers/cache:     261320     253848
Swap:       996020      34824     961196
sirius:~ $

While this output really is a tad cryptic, the -/+ line shows what you
actually are interested in.

All it does reduce the used number (increase the free number) by the
amount of memory being used by buffers and cache, but as you can see on
the example output from a small server shown above, what at first glance
appears to be a system starving for memory is really only about 1/2 used
- with Linux being awesome and quietly caching things for us to improve
performance.

AfC

-- 
Andrew Frederick Cowie
Operational Dynamics Consulting Pty Ltd

Australia: +61 2 9977 6866  North America: +1 646 472 5054

http://www.operationaldynamics.com/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to