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