IPCRM(1,C) AIX Commands Reference IPCRM(1,C)
-------------------------------------------------------------------------------
ipcrm
PURPOSE
Removes message queue, semaphore set, or shared memory identifiers.
SYNTAX
+---------------+
ipcrm ---| +-----------+ |---|
+-| -m shmid |-+
^| -q msqid ||
|| -s semid ||
|| -M shmkey ||
|| -Q msgkey ||
|| -S semkey ||
|+-----------+|
+-------------+
DESCRIPTION
The ipcrm command removes one or more message queue, semaphore set, or shared
memory identifiers.
FLAGS
-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.
-q msqid Removes the message queue identifier msqid 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.
-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 msgkey Removes the message queue identifier, created with key msgkey, and
the message queue 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.
Processed November 8, 1990 IPCRM(1,C) 1
IPCRM(1,C) AIX Commands Reference IPCRM(1,C)
The details of the remove operations are described under the 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
See the following command: "ipcs."
See the msgctl, msgget, msgrcv, msgsnd, semctl, semget, semop, shmctl, shmget,
and shmop system calls in AIX Operating System Technical Reference.
Processed November 8, 1990 IPCRM(1,C) 2