1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 15:55:26 +02:00
tldr/pages/linux/ipcrm.md

33 lines
649 B
Markdown
Raw Normal View History

2019-05-04 09:49:20 -04:00
# ipcrm
> Delete IPC (Inter-process Communication) resources.
> More information: <https://manned.org/ipcrm>.
2019-05-04 09:49:20 -04:00
- Delete a shared memory segment by ID:
`ipcrm {{[-m|--shmem-id]}} {{shmem_id}}`
2019-05-04 09:49:20 -04:00
- Delete a shared memory segment by key:
`ipcrm {{[-M|--shmem-key]}} {{shmem_key}}`
2019-05-04 09:49:20 -04:00
- Delete an IPC queue by ID:
`ipcrm {{[-q|--queue-id]}} {{ipc_queue_id}}`
2019-05-04 09:49:20 -04:00
- Delete an IPC queue by key:
`ipcrm {{[-Q|--queue-key]}} {{ipc_queue_key}}`
2019-05-04 09:49:20 -04:00
- Delete a semaphore by ID:
`ipcrm {{[-s|--semaphore-id]}} {{semaphore_id}}`
2019-05-04 09:49:20 -04:00
- Delete a semaphore by key:
`ipcrm {{[-S|--semaphore-key]}} {{semaphore_key}}`
2019-05-04 09:49:20 -04:00
- Delete all IPC resources:
`ipcrm {{[-a|--all]}}`