1、查看共享内存id:
# ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 32768 root 644 72 2 dest
0x00000000 65537 root 644 16384 2 dest
0x00000000 98306 root 644 280 2 dest
2、根据id删除
ipcrm -m 98306
阅读(2009) | 评论(0) | 转发(0) |