mirror of https://github.com/CrimsonTome/tldr.git
32 lines
538 B
Markdown
32 lines
538 B
Markdown
|
# ipcrm
|
||
|
|
||
|
> Delete IPC (Inter-process Communication) resources.
|
||
|
|
||
|
- 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`
|