From 3d0fc72d65ab3d0b69443d9832821f3dcf81701e Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Mon, 12 Sep 2011 18:56:30 +0200 Subject: 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 --- sys-utils/ipcrm.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys-utils/ipcrm.1') 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), -- cgit v1.2.3-55-g7522