Table of contents
List segments and semaphore arrays
Use -s for semaphores and -m for shared memory segments (or both):
ipcs -s -m
Manage memory segments
View details of a memory segment (by ID)
ipcs -m -i <id>
Delete a memory segment
ipcrm -m <id>
Manage semaphore arrays
View details of a semaphore array (by ID)
ipcs -s -i <id>
Delete a semaphore array
ipcrm -s <id>