Shared memory: what's the difference between the key and the id?
问题 When invoking ipcs -a , what is the difference between the key column and the id column? Here is an example output for ipcs command: ipcs -a ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 0 ybaumes 600 393216 2 dest 0x00000000 65537 ybaumes 700 8124648 2 dest 0x00000000 3932163 ybaumes 700 169376 2 dest 0x00000000 3604485 ybaumes 600 393216 2 dest 回答1: Firstly, the 'id' column in shared memory refers to the specific handler to the shared memory