UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: installChapter 2
UNIX Commands
Next: Reference: ipcs
 

ipcrm

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.

Options

-m shmid

Remove shared memory identifier shmid.

-M shmkey

Remove shmid created with key shmkey.

-q msqid

Remove message queue identifier msqid.

-Q msgkey

Remove msqid created with key msgkey.

-s semid

Remove semaphore identifier semid.

-S semkey

Remove semid created with key semkey.


Previous: Reference: installUNIX in a Nutshell: System V EditionNext: Reference: ipcs
Reference: installBook IndexReference: ipcs

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System