LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   posix shared memory regions (http://www.linuxquestions.org/questions/linux-newbie-8/posix-shared-memory-regions-738635/)

caverdave 07-08-2009 10:52 AM

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!

chrism01 07-08-2009 07:55 PM

Apparently ipcs -m should do it, but read the full story here: http://www.webmasterworld.com/linux/3476321.htm

caverdave 07-09-2009 09:00 AM

Quote:

Originally Posted by chrism01 (Post 3601591)
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.


All times are GMT -5. The time now is 10:35 PM.