Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (g - j) ipcrm(1)
2. To remove the shared memory segment associated with shared memory
identifier 128 on processor 4, enter:
run -cpu=4 ipcrm -m 128
3. To remove the semaphore set associated with semaphore identifier 222
from the processor on which your terminal session runs, enter:
ipcrm -s 222
4. To remove the semaphore set associated with semaphore identifier 222
on processor 4, enter:
run -cpu=4 ipcrm -s 222
5. To remove the message queue associated with message queue identifier
4 from the processor on which your terminal session runs, enter:
ipcrm -q 4
6. To remove the message queue associated with message queue identifier
4 on processor 4, enter:
run -cpu=4 ipcrm -q 4
NOTES
The ipcs and ipcrm commands have no provision for managing interprocess communication
(IPC) facilities on processors other than the one in which they run. To manage IPC facilities
across all the processors of a node, you need to use these commands with other OSS shell com-
mands and command flags, such as the run command -cpu= flag.
RELATED INFORMATION
Commands: ipcs(1), run(1).
Functions: msgctl(2), msgget(2), semctl(2), semget(2), semop(2), shmctl(2), shmdt(2),
shmget(2).
STANDARDS CONFORMANCE
This utility is an HP extension to the XPG4 Version 2 specification.
527188-021 Hewlett-Packard Company 4−59