mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 01:51:54 +00:00
Update cheatsheets
This commit is contained in:
25
linux/ipcmk
Normal file
25
linux/ipcmk
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ipcmk
|
||||
|
||||
> Create IPC (Inter-process Communication) resources.
|
||||
> More information: <https://manned.org/ipcmk>.
|
||||
|
||||
- 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_permissions}}`
|
||||
Reference in New Issue
Block a user