ipcmk - make various IPC resources
Contents
Availability
The ipcmk command is part of the util-linux package which can be downloaded from Linux Kernel Archive
<https://www.kernel.org/pub/linux/utils/util-linux/>.
util-linux 2.40.2 2024-04-24 IPCMK(1)
Description
ipcmk allows you to create System V inter-process communication (IPC) objects: shared memory segments,
message queues, and semaphore arrays.
Name
ipcmk - make various IPC resources
Options
Resources can be specified with these options:
-M, --shmemsize
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.
-Q, --queue
Create a message queue.
-S, --semaphorenumber
Create a semaphore array with number of elements.
Other options are:
-p, --modemode
Access permissions for the resource. Default is 0644.
-h, --help
Display help text and exit.
-V, --version
Print version and exit.
Reporting Bugs
For bug reports, use the issue tracker at https://github.com/util-linux/util-linux/issues.
See Also
ipcrm(1), ipcs(1), sysvipc(7)
Synopsis
ipcmk [options]
