File: ipcmk.1.adoc

package info (click to toggle)
util-linux 2.41-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 95,208 kB
  • sloc: ansic: 179,016; sh: 22,689; yacc: 1,284; makefile: 528; xml: 422; python: 316; lex: 89; ruby: 75; csh: 37; exp: 19; sed: 16; perl: 15; sql: 9
file content (75 lines) | stat: -rw-r--r-- 2,082 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
//po4a: entry man manual
////
Copyright 2008 Hayden A. James (hayden.james@gmail.com)
May be distributed under the GNU General Public License
////
= ipcmk(1)
:doctype: manpage
:man manual: User Commands
:man source: util-linux {release-version}
:page-layout: base
:command: 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.

include::man-common/help-version.adoc[]

== AUTHORS

mailto:hayden.james@gmail.com[Hayden A. James],
mailto:paithankarprasanna@gmail.com[Prasanna Paithankar]

== SEE ALSO

*ipcrm*(1),
*ipcs*(1),
*lsipc*(1),
*sysvipc*(7)

include::man-common/bugreports.adoc[]

include::man-common/footer.adoc[]

ifdef::translation[]
include::man-common/translation.adoc[]
endif::[]