# ipcmk

## NAME



           ipcmk - make various IPC resources
    


## SYNOPSIS



           **ipcmk**[options]
    


## 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).
    


## OPTIONS



           Resources can be specified with these options:
    
           **-M** , **--shmem** _size_
               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-shmem** _size_
               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** , **--semaphore** _number_
               Create a semaphore array with _number_ of elements.
    
           **-s** , **--posix-semaphore**
               Create a POSIX named semaphore.
    
           **-n** , **--name** _name_
               Name of the POSIX IPC object. This option is mandatory for
               POSIX IPC objects.
    
           Other options are:
    
           **-p** , **--mode** _mode_
               Access permissions for the resource. Default is 0644.
    
           **-h** , **--help**
               Display help text and exit.
    
           **-V** , **--version**
               Display version and exit.
    


## 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/>. This page is
           part of the _util-linux_ (a random collection of Linux utilities)
           project. Information about the project can be found at 
           ⟨https://www.kernel.org/pub/linux/utils/util-linux/⟩. If you have a
           bug report for this manual page, send it to
           util-linux@vger.kernel.org. This page was obtained from the
           project's upstream Git repository
           ⟨git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git⟩ on
           2025-08-11. (At that time, the date of the most recent commit that
           was found in the repository was 2025-08-05.) If you discover any
           rendering problems in this HTML version of the page, or you
           believe there is a better or more up-to-date source for the page,
           or you have corrections or improvements to the information in this
           COLOPHON (which is _not_ part of the original manual page), send a
           mail to man-pages@man7.org
    
    util-linux 2.42-start-521-ec46  2025-08-09                       _IPCMK_(1)
    


* * *