ipcrm
[options
]
Remove a message queue, semaphore set, or shared memory identifier as
specified by the options
. ipcrm is useful for freeing shared
memory left behind by programs that failed to de-allocate the space.
Use ipcs first to list items to remove.
shmid
Remove shared memory identifier shmid
.
shmkey
Remove shmid
created with key shmkey
.
msqid
Remove message queue identifier msqid
.
msgkey
Remove msqid
created with key msgkey
.
semid
Remove semaphore identifier semid
.
semkey
Remove semid
created with key semkey
.