On Sun, Nov 24, 2002 at 05:27:56PM -0600, steve rader wrote:
> 
> The "free" command reports real memory util as
> used, shared, buffers and cached.  But what are the
> definitions of the terms?  There's no mention of them
> in the man pages for free, top, or vmstat.

It also reports swap, but you're on the right track.

> It's been about a dozen years since I got my BS in
> CompSci, but my recollection is...
> 
>  used      is used by user-space processes
>  shared    is used for shared memory segments

No longer accurate, according to the man page.

>  buffers   is used for kernel network and streams buffering
>  cached    is used for file system caching

Your memory is correct.

You might prefer to refer directly to /proc/meminfo, to wit:
$ cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  262963200 236924928 26038272        0 27144192 113356800
Swap: 789585920   221184 789364736
MemTotal:       256800 kB
MemFree:         25428 kB
MemShared:           0 kB
Buffers:         26508 kB
Cached:         110484 kB
SwapCached:        216 kB
Active:         127024 kB
Inactive:        81024 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       256800 kB
LowFree:         25428 kB
SwapTotal:      771080 kB
SwapFree:       770864 kB

Kurt
-- 
The man who sets out to carry a cat by its tail learns something that
will always be useful and which never will grow dim or doubtful.
                -- Mark Twain.
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to