summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcrm.1
diff options
context:
space:
mode:
authorSami Kerola2011-09-12 18:56:30 +0200
committerSami Kerola2011-09-17 15:07:35 +0200
commit3d0fc72d65ab3d0b69443d9832821f3dcf81701e (patch)
treeb4c9483b836eed995bedbc29f7c652af4f8d494a /sys-utils/ipcrm.1
parentdocs: add long options to ipcs.1 man page (diff)
downloadkernel-qcow2-util-linux-3d0fc72d65ab3d0b69443d9832821f3dcf81701e.tar.gz
kernel-qcow2-util-linux-3d0fc72d65ab3d0b69443d9832821f3dcf81701e.tar.xz
kernel-qcow2-util-linux-3d0fc72d65ab3d0b69443d9832821f3dcf81701e.zip
ipcrm: add --all option
An --all option will remove all ipc entries. The option takes optional resource argument, which limits the removal to be applied only the given resource entries. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/ipcrm.1')
-rw-r--r--sys-utils/ipcrm.18
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-utils/ipcrm.1 b/sys-utils/ipcrm.1
index 02bff1bbc..6cf74a510 100644
--- a/sys-utils/ipcrm.1
+++ b/sys-utils/ipcrm.1
@@ -64,6 +64,14 @@ removes the semaphore created with
\fB\-s\fR, \fB\-\-semaphore\-id\fR \fIsemid\fR
removes the semaphore identified by
.IR semid .
+.TP
+\fB-a\fR, \fB\-\-all\fR [\fIshm msg sem\fR]
+Remove all resources. When option argument is provided the removal is
+performed only to for the specified resource types. Warning! Do not use
+.B \-a
+if you are unsure how the software using resources might react on missing
+objects. Some programs create these resources at start up and may not have
+any code to deal unexpected disappearance.
.LP
The details of the removes are described in
.IR msgctl (2),