1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/pages/linux/ipcrm.md
2021-09-02 20:33:49 +02:00

32 lines
586 B
Markdown

# ipcrm
> Delete IPC (Inter-process Communication) resources.
> More information: <https://manned.org/ipcrm>.
- Delete a shared memory segment by ID:
`ipcrm --shmem-id {{shmem_id}}`
- Delete a shared memory segment by key:
`ipcrm --shmem-key {{shmem_key}}`
- Delete an IPC queue by ID:
`ipcrm --queue-id {{ipc_queue_id}}`
- Delete an IPC queue by key:
`ipcrm --queue-key {{ipc_queue_key}}`
- Delete a semaphore by ID:
`ipcrm --semaphore-id {{semaphore_id}}`
- Delete a semaphore by key:
`ipcrm --semaphore-key {{semaphore_key}}`
- Delete all IPC resources:
`ipcrm --all`