version 1.2, 1996/06/26 05:34:34 |
version 1.3, 1998/09/26 19:54:54 |
|
|
.\" |
.\" |
.\"" |
.\"" |
.Dd August 8th, 1994 |
.Dd August 8th, 1994 |
.Dt ipcrm 1 |
.Dt IPCRM 1 |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
.Nm ipcrm |
.Nm ipcrm |
|
|
.Nm ipcrm |
.Nm ipcrm |
removes the specified message queues, semaphores and shared memory |
removes the specified message queues, semaphores and shared memory |
segments. These System V IPC objects can be specified by their |
segments. These System V IPC objects can be specified by their |
creation id or any associated key. |
creation ID or any associated key. |
.Pp |
.Pp |
The following options are used to specify which IPC objects will be removed. Any number and combination of these options can be used: |
The following options are used to specify which IPC objects will be removed. Any number and combination of these options can be used: |
.Bl -tag -width indent |
.Bl -tag -width indent |
.It Fl q Ar msqid |
.It Fl q Ar msqid |
Remove the message queue associated with the id |
Remove the message queue associated with the ID |
.Nm msqid |
.Nm msqid |
from the system. |
from the system. |
.It Fl m Ar shmid |
.It Fl m Ar shmid |
Mark the shared memory segment associated with id |
Mark the shared memory segment associated with ID |
.Nm shmid |
.Nm shmid |
for removal. |
for removal. |
This marked segment will be destroyed after the last detach. |
This marked segment will be destroyed after the last detach. |
.It Fl s Ar semid |
.It Fl s Ar semid |
Removes the semaphore set associated with id |
Removes the semaphore set associated with ID |
.Nm semid |
.Nm semid |
from the system. |
from the system. |
.It Fl Q Ar msgkey |
.It Fl Q Ar msgkey |
|
|
.Pp |
.Pp |
The identifiers and keys associated with these System V IPC objects can be |
The identifiers and keys associated with these System V IPC objects can be |
determined by using |
determined by using |
.Xr ipcs 1 |
.Xr ipcs 1 . |
. |
. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr ipcs 1 |
.Xr ipcs 1 |