Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.system > #307

Re: "ipcs -m" on Linux shows not all shared memory segments

From Alex Vinokur <alex.vinokur@gmail.com>
Newsgroups comp.os.linux.development.system, comp.unix.programmer
Subject Re: "ipcs -m" on Linux shows not all shared memory segments
Date 2011-10-16 23:00 -0700
Organization http://groups.google.com
Message-ID <67723efb-5be3-4d9d-ac7d-dea012b76ceb@g7g2000vbv.googlegroups.com> (permalink)
References <dddaace6-d556-45eb-b6ed-052b91000e3a@f5g2000vbz.googlegroups.com> <chine.bleu-54188C.22381216102011@news.eternal-september.org>

Cross-posted to 2 groups.

Show all headers | View raw


On Oct 17, 7:38 am, China Blue Corn Chips <chine.b...@yahoo.com>
wrote:
> In article <dddaace6-d556-45eb-b6ed-052b91000...@f5g2000vbz.googlegroups.com>,
>  Alex Vinokur <alex.vino...@gmail.com> wrote:
>
> > Hi,
>
> > Linux 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64
> > x86_64 x86_64 GNU/Linux
>
> > "ipcs -m" on Linux shows not all shared memory segments
>
> > > ipcs -m | grep 0x | wc -l
> > 17
> > > cat /proc/sysvipc/shm | grep -v key | wc -l
> > 22
>
> > Is there any option to get list of all shared memory segments via
> > icps?
>
> Are you running ipcs as root?
>

No. I am running ipcs as regular user.

However, it seems that on other UNIXes the ipcs always shows all
shared memory segments.

Alex

Back to comp.os.linux.development.system | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

"ipcs -m" on Linux shows not all shared memory segments Alex Vinokur <alex.vinokur@gmail.com> - 2011-10-16 22:07 -0700
  Re: "ipcs -m" on Linux shows not all shared memory segments China Blue Corn Chips <chine.bleu@yahoo.com> - 2011-10-16 22:38 -0700
    Re: "ipcs -m" on Linux shows not all shared memory segments Alex Vinokur <alex.vinokur@gmail.com> - 2011-10-16 23:00 -0700

csiph-web