Re: get all shared memory segments
- From: "rajbir" <rajbir.bhattacharjee@xxxxxxxxx>
- Date: 27 Dec 2006 07:01:02 -0800
My apologies that I can't give you a straight forward answer. I never
employed too much shared memory in my codes. But I can tell you how to
find out what you need to know.. do an 'nm' or 'dump -Tv' on the ipcs
command. That will tell you all the library functions ipcs calls, all
the system calls ipcs does. Then read publib on those calls and you
should be able to find your way out.
Thanks and regards,
Rajbir Bhattacharjee
upsa wrote:
0xDEADABE wrote:
Lőrinczy Zsigmond wrote:
upsa wrote:
Hello,
how can i get all shared memory segments on aix5 using c++?
I can use shmget(),shmat(),shmdt() and other functions only if i know
shmid of shared memory. But i can't get list of shmid for all shared
memory segments in system.
Do AIX have command ipcs(8) like linux? If so use command "ipcs -m".
It does. "ipcs -m" will work.
I'm sorry, guys. I need to get shared memory segments by using c\c++
language. So, i need to know which functions i should use to get list
of all shared memory segments in AIX system.
Thanks.
.
- Follow-Ups:
- Re: get all shared memory segments
- From: rajbir
- Re: get all shared memory segments
- References:
- get all shared memory segments
- From: upsa
- Re: get all shared memory segments
- From: Lőrinczy Zsigmond
- Re: get all shared memory segments
- From: 0xDEADABE
- Re: get all shared memory segments
- From: upsa
- get all shared memory segments
- Prev by Date: jfs2 filesystem crash???
- Next by Date: Re: get all shared memory segments
- Previous by thread: Re: get all shared memory segments
- Next by thread: Re: get all shared memory segments
- Index(es):
Relevant Pages
|