UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: indxbibChapter 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 deallocate 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: indxbibUNIX in a Nutshell: System V EditionNext: Reference: ipcs
Reference: indxbibBook 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