Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

ipcs(1) OSS Shell and Utilities Reference Manual
NAME
ipcs - Reports interprocess communication (IPC) facilities status
SYNOPSIS
ipcs [-a | -bcopt][-mqs]
FLAGS
-a Is the same as specifying the -b, -c, -o, -p, and -t ags.
-b Writes the maximum number of bytes in message queues, the maximum allowed size of
segments for shared memory, and the number of semaphores in each semaphore set.
-c Writes the username and group name of the user who created the facility.
-m Writes information about active shared memory segments.
-o Writes the following usage information:
Number of messages on queue.
Total number of bytes in message queues.
Number of processes attached to shared memory segments.
-p Writes the following usage information:
OSS process ID of the last process to receive a message and OSS process ID of
the last process to send a message currently on message queues
Process identier of the creating process for a facility
Process identier of the last process to call the shmat(), shmdt(),orshmctl()
function for the segment
-q Writes information about active message queues.
-s Writes information about active semaphore sets.
-t Writes the times of the following actions:
Either:
The creation of the facility
The last control operation that changed the facility (either by modify-
ing permissions information for the facility or by removing the facility)
The last use of the msgsnd() function and of the msgrcv() function on mes-
sage queues
The last use of the shmat() function and of the shmdt() function on shared
memory
The last use of the semop() function on semaphore sets
DESCRIPTION
The ipcs command writes information to the standard output le about active interprocess com-
munication (IPC) facilities on the processor in which the command runs. If you do not specify
any ags, ipcs writes information in short form about the currently active message queues, shared
memory segments, semaphore sets, and local message queue headers.
452 Hewlett-Packard Company 527188-003