diff options
author | Hayden James | 2008-09-10 15:31:36 +0200 |
---|---|---|
committer | Karel Zak | 2008-09-10 15:36:50 +0200 |
commit | 1b3f13304381e0c78ebc904af02672c2aaf936e5 (patch) | |
tree | 975141b0906bf5219b9356e70f4323cbffd24b7f /sys-utils/ipcmk.1 | |
parent | ionice: add strtol() checks, cleanup usage text and man page (diff) | |
download | kernel-qcow2-util-linux-1b3f13304381e0c78ebc904af02672c2aaf936e5.tar.gz kernel-qcow2-util-linux-1b3f13304381e0c78ebc904af02672c2aaf936e5.tar.xz kernel-qcow2-util-linux-1b3f13304381e0c78ebc904af02672c2aaf936e5.zip |
ipcmk: new command
Small patch to create an application that can easily create ad-hoc ipc
resources, along with man page.
[kzak@redhat.com: - rename from ipccreat to ipcmk
- minor coding style changes]
Signed-off-by: Hayden James <hayden.james@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/ipcmk.1')
-rw-r--r-- | sys-utils/ipcmk.1 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-utils/ipcmk.1 b/sys-utils/ipcmk.1 new file mode 100644 index 000000000..640c2e857 --- /dev/null +++ b/sys-utils/ipcmk.1 @@ -0,0 +1,39 @@ +.\" Copyright 2008 Hayden A. James (hayden.james@gmail.com) +.\" May be distributed under the GNU General Public License +.TH "IPCMK" "1" "21 March 2008" "ipcmk" "Linux Programmer's Manual" +.SH "NAME" +ipcmk \- create various ipc resources +.SH "SYNOPSIS" +.B ipcmk [ \-M \fIsize\fR ] [ \-p \fImode\fR ] +.br +.B ipcmk [ \-S \fInsems\fR ] [ \-p \fImode\fR ] +.br +.B ipcmk [ \-Q ] [ \-p \fImode\fR ] +.SH "DESCRIPTION" +.B ipcmk +allows you to create shared memory segments, message queues or semaphore arrays. +.SH "OPTIONS" +Resources may be specified as follows: +.TP +.BI \-M " size" +shared memory segment of size \fB\fIsize\fR\fR +.TP +.BI \-S " nsems" +semaphore array with \fB\fInsems\fR\fR elements +.TP +.BI \-Q +message queue +.TP +Other options +.TP +.BI \-p " mode" +permission for the resource (default is 0644) +.PP +.SH "SEE ALSO" +.BR ipcrm (1), +.BR ipcs (1) +.SH "AUTHOR" +Hayden A. James (hayden.james@gmail.com) +.SH "AVAILABILITY" +The ipcmk command is part of the util\-linux\-ng package and is available from +ftp://ftp.kernel.org/pub/linux/utils/util\-linux\-ng/. |