Bob Sparks writes:
>Linux "uses" most of the memory, most of the time. It has the kernel,
>and the applications, in memory. It uses all but a few MB of the rest
>for disk buffers. Any time the applications, etc. need more memory,
>Linux flushes some disk buffers, and frees up the memory. This is
>one reason why Linux is faster under many circumstances, because
>it is constantly trying to use all resources to their fullest.

Along those lines, I have a question too.  Here's my memory usage at
the moment:

   vanzandt:~$ cat /proc/meminfo
           total:    used:    free:  shared: buffers:  cached:
   Mem:  64524288 41836544 22687744 25706496  9859072 15622144
   Swap: 106885120        0 106885120
   MemTotal:     63012 kB
   MemFree:      22156 kB
   MemShared:    25104 kB
   Buffers:       9628 kB
   Cached:       15256 kB
   SwapTotal:   104380 kB
   SwapFree:    104380 kB
   vanzandt:~$ calc 22687744+41836544
   64524288
   vanzandt:~$ calc 25706496+9859072+15622144
   51187712
   vanzandt:~$ calc 25706496+9859072
   35565568
   
I understand the first three entries, I think.  (I only just booted
this machine, so it has not buffered much from the disk, and has not
swapped anything out.)  I assume the 25M of "shared" includes all the
shared libraries I'm using.  I also assume that "buffers" have copies
of data recently read from and/or written to the disk.  However, 
I don't know what "cached" refers to.  Apparently the last three
categories are not distinct, because they add up to more than "used".
Is anyone willing to fill me in?

                  - Jim Van Zandt

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to