$manlookup

ipcmk

(1)

make various IPC resources

User commands10 optionsutil-linux 2.41-5
ipcmk [options]

Options

10
-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.

-m--posix-shmemsize

Create a POSIX 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.

-q--posix-mqueue

Create a POSIX message queue.

-S--semaphorenumber

Create a semaphore array with number of elements.

-s--posix-semaphore

Create a POSIX named semaphore.

-n--namename

Name of the POSIX IPC object. This option is mandatory for POSIX IPC objects.

-p--modemode

Access permissions for the resource. Default is 0644.

-h--help

Display help text and exit.

-V--version

Display version and exit.

DESCRIPTION

ipcmk allows you to create POSIX and System V inter-process communication (IPC) objects: shared memory segments, message queues, and semaphore (arrays for System V).

AUTHORS

Hayden A. James hayden.james@gmail.com, Prasanna Paithankar paithankarprasanna@gmail.com

REPORTING BUGS

For bug reports, use the issue tracker https://github.com/util-linux/util-linux/issues.

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/.

See also