| the same command shows the POSIX compliant ipc's as well Hi,
The same command "ipcs -a" will list you all the currently active shared memories, Semaphores and also the message queues in your machine.
This command will also show you the POSIX compliant shared memories etc also.
Like when you create a shared memory using POSIX calls such as "shm_open()", "mmap()", "shm_destroy()" etc., those shared memories created could be viewed by opening "/dev/shm" which will be automatically mounted in your machine. You can check "df -h" for that "/dev/shm" device mount.
Those shared memories so created can also be viewed with the "ipcs -a" command. You can verify that by means of checking your Shared Memory key or the Permission bits. Say, if you give a 0666 permission for your shared memory, you can notice that permitted shared memory being shown in the "ipcs -a" command.
Regards
Visu |