参考 Why when I run $ ipcs
are all shared memory segment keys “0x00000000”?在的回答:
Note almost all of the currently running shared memory segments have a key of 0 or 0x00000000 (also known as IPC_PRIVATE) which means they are only shared between processes in a parent/child relationship.
ziji jiejule