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
|
.\" Copyright 2008 Hayden A. James (hayden.james@gmail.com)
.\" May be distributed under the GNU General Public License
.TH IPCMK "1" "July 2014" "util-linux" "User Commands"
.SH "NAME"
ipcmk \- make various IPC resources
.SH "SYNOPSIS"
.B ipcmk
[options]
.SH "DESCRIPTION"
.B ipcmk
allows you to create shared memory segments, message queues,
and semaphore arrays.
.SH "OPTIONS"
.TP
Resources can be specified with these options:
.TP
.BR \-M , " \-\-shmem " \fIsize
Create a shared memory segment of
.I size
bytes.
The \fIsize\fR 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.
.TP
.BR \-Q , " \-\-queue"
Create a message queue.
.TP
.BR \-S , " \-\-semaphore " \fInumber
Create a semaphore array with
.I number
of elements.
.PP
Other options are:
.TP
.BR \-p , " \-\-mode " \fImode
Access permissions for the resource. Default is 0644.
.TP
.BR \-V , " \-\-version"
Display version information and exit.
.TP
.BR \-h , " \-\-help"
Display help text and exit.
.PP
.SH "SEE ALSO"
.BR ipcrm (1),
.BR ipcs (1)
.SH "AUTHOR"
.MT hayden.james@gmail.com
Hayden A. James
.ME
.SH "AVAILABILITY"
The ipcmk command is part of the util-linux package and is available from
.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
Linux Kernel Archive
.UE .
|