mirror of https://github.com/CrimsonTome/tldr.git
20 lines
389 B
Markdown
20 lines
389 B
Markdown
|
# ipcmk
|
||
|
|
||
|
> Create IPC (Inter-process Communication) resources.
|
||
|
|
||
|
- Create a shared memory segment:
|
||
|
|
||
|
`ipcmk --shmem {{segment_size_in_bytes}}`
|
||
|
|
||
|
- Create a semaphore:
|
||
|
|
||
|
`ipcmk --semaphore {{element_size}}`
|
||
|
|
||
|
- Create a message queue:
|
||
|
|
||
|
`ipcmk --queue`
|
||
|
|
||
|
- Create a shared memory segment with specific permissions (default is 0644):
|
||
|
|
||
|
`ipcmk --shmem {{segment_size_in_bytes}} {{octal_permissons}}`
|