ipcrm
PURPOSE
Removes message queue, semaphore set or shared memory
identifiers.
SYNOPSIS
ipcrm [ options ]
DESCRIPTION
The ipcrm command removes one or more message queue,
semaphore set, or shared memory identifiers.
FLAGS
-lmsqid Removes local information about the remote
queue msqid without removing the remote
queue.
-Lmsgkey Removes local information about the remote
queue msgkey without removing the remote
queue.
-m shmid Removes the shared memory identifier shmid.
The shared memory segment and data structure
associated with shmid are also removed after
the last detach.
-M shmkey Removes the shared memory identifier, created
with key shmkey. The shared memory segment
and data structure associated with it are
also removed after the last detach.
-q msqid Removes the message queue identifier msqid
and the message queue and data structure
associated with it.
-Q msgkey Removes the message queue identifier, created
with key msgkey, and the message queue and
data structure associated with it.
-s semid Removes the semaphore identifier semid and
the set of semaphores and data structure
associated with it.
-S semkey Removes the semaphore identifier, created
with key semkey, and the set of semaphores
and data structure associated with it.
The details of the remove operations are described in
msgctl, shmctl, and semctl in the AIX Operating System
Technical Reference. The identifiers and keys can be
found by using the ipcs command.
RELATED INFORMATION
The following command: "ipcs."
The msgctl, msgget, msgrcv, msgsnd, semctl, semget,
semop, shmctl, shmget, and shmop system calls in AIX
Operating System Technical Reference.