On Wed, Jul 04, 2001 at 01:53:59PM +1000, Russell Andrew Willis wrote:

> I have subsequently attached a screen capture of top command that
> may assist in pinpointing the regular access of my hdd. I have sorted by CPU
> usage.  From what I can see my swap usage at startup is only about 1.48% of
> available, Mem stats however are 97.57% used ? (when I obtained this data I

don't use top to check your memory usage, use 'free'.

this is what my top reports:

    Mem:    255992K total,   248776K used,     7216K free,     4812K buffers
    Swap:    48156K total,     1456K used,    46700K free,   105436K cached

this is what free reports:

                 total       used       free     shared    buffers     cached
    Mem:        255992     248676       7316          0    4812        105452
    -/+ buffers/cache:     138412     117580
    Swap:        48156       1456      46700
    
the figures you're actually interested in (and which top omits) are in
free's second line (-/+ buffers/cache).

the first line of free (and the same one used for top) reports your
total memory usage, which includes all the memory allocated to caching
the data which goes to and from all your hard disks.  look at the
'cached' figure in the far right column, it's 105452k.  that's a lot of
cache memory.

the second line of free reports the amount of memory you have free
without the cache, which can grow and shrink to your current memory usage
as necessary.  i have 117580k total memory free there.

i guess this still doesn't really help the problem with your disk, but it
will give you a much better figure of memory usage 8)


-- 
#ozone/algorithm <[EMAIL PROTECTED]>          - trust.in.love.to.save

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to