16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ipcrm<br />

Options<br />

Examples<br />

Exit Values<br />

Related Information<br />

ipcs<br />

–m SharedMemoryID<br />

Removes the shared memory identifier SharedMemoryID. The shared<br />

memory segment and data structure associated with SharedMemoryID are<br />

also removed after the last detach operation.<br />

–M SharedMemoryKey<br />

Removes the shared memory identifier, created with the key<br />

SharedMemoryKey. The shared memory segment and data structure<br />

associated with it are also removed after the last detach operation.<br />

–q MessageID<br />

Removes the message queue identifier MessageID and the message<br />

queue and data structure associated with it.<br />

–Q MessageKey<br />

Removes the message queue identifier, created with the key MessageKey,<br />

and the message queue and data structure associated with it.<br />

–s SemaphoreID<br />

Removes the semaphore identifier SemaphoreID and the set of<br />

semaphores and data structure associated with it.<br />

–S SemaphoreKey<br />

Removes the semaphore identifier, created with the key SemaphoreKey,<br />

and the set of semaphores and data structure associated with it.<br />

The msgctl, shmctl, and semctl subroutines provide details of the remove<br />

operations. You can use the ipcs command to find the identifiers and keys.<br />

1. To remove the shared memory segment associated with SharedMemoryID<br />

18602, enter:<br />

ipcrm –m 18602<br />

2. To remove the message queue that was created with a key of 0xC1C2C3C3,<br />

enter:<br />

ipcrm –Q 0xC1C2C3C4<br />

0 Successful completion<br />

1 Incorrect command-line option<br />

ipcs — Report status of the interprocess communication facility<br />

Format<br />

ipcs [–mqsS] [–a b c o p t w x y M B]<br />

320 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!