]> git.ipfire.org Git - thirdparty/util-linux.git/blame - sys-utils/ipcmk.1
Merge branch 'mbsencode' of https://github.com/yontalcar/util-linux
[thirdparty/util-linux.git] / sys-utils / ipcmk.1
CommitLineData
1b3f1330
HJ
1.\" Copyright 2008 Hayden A. James (hayden.james@gmail.com)
2.\" May be distributed under the GNU General Public License
d179d019 3.TH IPCMK "1" "July 2014" "util-linux" "User Commands"
1b3f1330 4.SH "NAME"
d179d019 5ipcmk \- make various IPC resources
1b3f1330 6.SH "SYNOPSIS"
1c5115a9 7.B ipcmk
d179d019 8[options]
1b3f1330
HJ
9.SH "DESCRIPTION"
10.B ipcmk
d179d019
BS
11allows you to create shared memory segments, message queues,
12and semaphore arrays.
13.SH "OPTIONS"
1c5115a9 14.TP
d179d019 15Resources can be specified with these options:
1b3f1330 16.TP
5e43af7e 17.BR \-M , " \-\-shmem " \fIsize
d179d019 18Create a shared memory segment of
1c5115a9 19.I size
cbeb4261 20bytes.
79f4c272
KZ
21The \fIsize\fR argument may be followed by the multiplicative suffixes KiB (=1024), MiB (=1024*1024), and so on for GiB, etc. (the
22"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.
1b3f1330 23.TP
d179d019
BS
24.BR \-Q , " \-\-queue"
25Create a message queue.
26.TP
5e43af7e 27.BR \-S , " \-\-semaphore " \fInumber
d179d019 28Create a semaphore array with
cbeb4261
SK
29.I number
30of elements.
d179d019
BS
31.PP
32Other options are:
1b3f1330 33.TP
5e43af7e 34.BR \-p , " \-\-mode " \fImode
4e1991ac 35Access permissions for the resource. Default is 0644.
1b3f1330 36.TP
5e43af7e 37.BR \-V , " \-\-version"
b4362b6f 38Display version information and exit.
d179d019 39.TP
5e43af7e 40.BR \-h , " \-\-help"
d179d019 41Display help text and exit.
1b3f1330
HJ
42.PP
43.SH "SEE ALSO"
44.BR ipcrm (1),
45.BR ipcs (1)
46.SH "AUTHOR"
79f84818 47.MT hayden.james@gmail.com
cbeb4261 48Hayden A. James
79f84818 49.ME
1b3f1330 50.SH "AVAILABILITY"
a9485396 51The ipcmk command is part of the util-linux package and is available from
d673b74e 52.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
cbeb4261
SK
53Linux Kernel Archive
54.UE .