用ipcs命令即可,效果如下:
oracle@xxx:~> ipcs -a
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x2369b4bc 3309575 oracle 640 7535067136 18
------ Semaphore Arrays --------
key semid owner perms nsems
0xd5b0c6f8 1179650 oracle 640 154
------ Message Queues --------
key msqid owner perms used-bytes messages
转载于:https://blog.51cto.com/taoxueba/1109262