[lkml]   [2001]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: howto see shmem
On Mié 24 Oct 2001 20:37, Robert Love wrote:
> On Wed, 2001-10-24 at 19:27, Martín Marqués wrote:
> > [...]
> > ------ Shared Memory Segments --------
> > key shmid owner perms bytes nattch status
> > 0x00000000 65536 nobody 600 46084 11 dest
> > [...]
> > I can see 46084 bytes in shared memory used by the apache.
> > Am I wrong?
> Nope. Applications know how much the are sharing because they can
> easily see what region of memory is shared/mapped into their's.
> The reason the kernel can't figure out the net shared memory is because
> there is no simple way -- it has to add up the shared regions of all
> applications, counting each shared segment only once. Too much work.

Yes, I guess you are right. I just checked on and old RH server with a 2.2.x
kernel, and the sum of the shared memory of each application doesn't give me
the amount of shared memory that free gives me.

Thanks to all!

Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
Martín Marqués |
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:10    [W:0.078 / U:8.668 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site