All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Rohland <cr@sap.com>
To: "Martín Marqués" <martin@bugs.unl.edu.ar>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: howto see shmem
Date: 25 Oct 2001 15:34:20 +0200	[thread overview]
Message-ID: <m3g087268z.fsf@linux.local> (raw)
In-Reply-To: <20011024214017.E5B1D2AB49@bugs.unl.edu.ar>
In-Reply-To: <20011024214017.E5B1D2AB49@bugs.unl.edu.ar>

Hi Martín,

On Wed, 24 Oct 2001, Martín Marqués wrote:
> I have found out that /proc/meminfo doesn't have (at least that's my
> first thought) info about shared memory (it shows 0, even in heavy
> duty servers). 

/proc/meminfo did show the number of shared pages in the whole system
independent of SYSV shared mem.

In the -ac series it shows all shared anonymous pages
(i.e. tmpfs, shared mmap and SYSV shm pages)

> ipcs also shows nothing, so how can I see the amount
> of shared memory being used?  

linux:~ # ipcs -mu

------ Shared Memory Status --------
segments allocated 3
pages allocated 256
pages resident  12
pages swapped   87
Swap performance: 0 attempts     0 successes

It shows it.

> Th mounted /dev/shmem device also shows 0 kb used (just in case).

That would only show the posix shared memory segments in this
instance.

Greetings
		Christoph



      parent reply	other threads:[~2001-10-25 13:34 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
2001-10-24 23:39       ` Martín Marqués
2001-10-24 23:48       ` Mike Fedyk
2001-10-25 13:34 ` Christoph Rohland [this message]

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=m3g087268z.fsf@linux.local \
    --to=cr@sap.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.