Linux "ipcmk" Command Line Options and Examples
make various IPC resources

ipcmk allows you to create shared memory segments, message queues, and semaphore arrays..


Usage:

ipcmk [options]






Command Line Options:

-M
Create a shared memory segment of size bytes. The size argument may be followed by the multiplicative suffixes KiB (=1024),MiB (=1024*1024), and so on for GiB, etc. (the "iB" is optional, e.g., "K" has the same meaning as "KiB") or the suffixes KB(=1000), MB (=1000*1000), and so on for GB, etc.
ipcmk -M ...
-Q
Create a message queue.
ipcmk -Q ...
-S
Create a semaphore array with number of elements.Other options are:
ipcmk -S ...
-p
Access permissions for the resource. Default is 0644.
ipcmk -p ...
-V
Display version information and exit.
ipcmk -V ...
-h
Display help text and exit.
ipcmk -h ...