From: Robert Love <rml@tech9.net>
To: "Martín Marqués" <martin@bugs.unl.edu.ar>
Cc: Marc Brekoo <kernel@brekoo.no-ip.com>, linux-kernel@vger.kernel.org
Subject: Re: howto see shmem
Date: 24 Oct 2001 19:37:26 -0400 [thread overview]
Message-ID: <1003966646.3520.110.camel@phantasy> (raw)
In-Reply-To: <20011024232744.F14D62AB49@bugs.unl.edu.ar>
In-Reply-To: <20011024214017.E5B1D2AB49@bugs.unl.edu.ar> <005001c15ce2$1123aec0$0500a8c0@brekoo.noip.com> <20011024232744.F14D62AB49@bugs.unl.edu.ar>
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.
Robert Love
next prev parent reply other threads:[~2001-10-24 23:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-24 21:40 howto see shmem Martín Marqués
2001-10-24 23:17 ` Marc Brekoo
2001-10-24 23:27 ` Martín Marqués
2001-10-24 23:37 ` Robert Love [this message]
2001-10-24 23:39 ` Martín Marqués
2001-10-24 23:48 ` Mike Fedyk
2001-10-25 13:34 ` Christoph Rohland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1003966646.3520.110.camel@phantasy \
--to=rml@tech9.net \
--cc=kernel@brekoo.no-ip.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin@bugs.unl.edu.ar \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox