On Sun, Nov 24, 2002 at 07:29:39PM -0600, steve rader wrote:
>  > On Sun, Nov 24, 2002 at 05:27:56PM -0600, steve rader wrote:
>  > > 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
>  
>  > From: [EMAIL PROTECTED]
>  > No longer accurate, according to the man page.
> 
> which man page?  what's shared used for these days?!

free(1):

    DESCRIPTION
        free displays the total amount of free and  used  physical
        and swap memory in the system, as well as the buffers used
        by  the  kernel.   The  shared  memory  column  should  be
        ignored; it is obsolete.

This is accurate, as far as I know. Here's free's output on my
brand-spanking new 2.4.20-rc3:

$ free
             total       used       free     shared    buffers     cached
Mem:        256800     246652      10148          0      30800     119884
-/+ buffers/cache:      95968     160832
Swap:       771080        216     770864

Naytheless, I have a ton of shared memory in use:
$ ipcs -mu

------ Shared Memory Status --------
segments allocated 18
pages allocated 890
pages resident  890
pages swapped   0
Swap performance: 0 attempts     0 successes

Kurt


> 
> steve
> - - -

-- 
What this country needs is a dime that will buy a good five-cent bagel.
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to