Wikipedia
Ipcrm
The ipcrm command will mark System V interprocess communication API kernel entities for removal, deferred until the last connected process detaches. System V IPC kernel entities are:
- Shared memory (interprocess communication) segments
- Message queues
- Semaphore arrays