LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-08-2009, 10:52 AM   #1
caverdave
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Rep: Reputation: 0
posix shared memory regions


Hi,

Does anybody know of how I can find a "directory listing" of shared memory regions (and hopefully their sizes), either in the /proc filesystem or something under /dev ? I thought I'd seen something before, but I can't find it now.

Thanks!
 
Old 07-08-2009, 07:55 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,264

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Apparently ipcs -m should do it, but read the full story here: http://www.webmasterworld.com/linux/3476321.htm
 
Old 07-09-2009, 09:00 AM   #3
caverdave
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
Apparently ipcs -m should do it, but read the full story here: http://www.webmasterworld.com/linux/3476321.htm

Unfortunately, ipcs only works for SYS V IPC, not POSIX. Oh well. From further searching, it seems there isn't a mechanism to see POSIX shared mem regions, just msg queues. I guess I'll have to go read Linux kernel source.

Thank you for your reply.
 
  


Reply

Tags
ipc, memory, shared


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
POSIX Shared Memory noiz354 Linux - Hardware 1 02-27-2009 01:10 PM
POSIX Shared Memory w/ Kernel Module Smoltz Linux - Kernel 0 08-12-2008 01:56 PM
Difference between resident memory,shared memory and virtual memory in system monitor mathimca05 Linux - Newbie 1 11-11-2007 04:05 AM
Memory regions - please describe Enjo Linux - General 1 03-22-2006 08:08 AM
POSIX shared memory confusion MeMooMeM Programming 0 05-25-2005 04:32 PM


All times are GMT -5. The time now is 11:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration