
ipcs(1) | ipcs(1) |
NAME
ipcs - report status of interprocess communication facilities
SYNOPSIS
ipcs
DESCRIPTION
ipcs displays certain information about active interprocess communication facilities. With no options, ipcs displays information in short format for the message queues, shared memory segments, and semaphores that are currently active in the system.
Options
The following options restrict the display to the corresponding facilities.
(none) | This is equivalent to |
Display information about active shared memory segments. | |
Display information about active message queues. | |
Display information about active semaphores. |
The following options add columns of data to the display. See "Column Description" below.
(none) | Display default columns: for all facilities: T, ID, KEY, MODE, OWNER, GROUP. | ||
Display all columns, as appropriate. This is equivalent to | |||
Display | |||
| memory segments: SEGSZ; for semaphores: NSEMS. |
| |
Display creator's login name and group name: for all facilities: CREATOR, CGROUP. | |||
Display information on outstanding usage: for message queues: CBYTES, QNUM; for | |||
| shared memory segments: NATTCH. |
|
|
Display process number information: for | message | queues: LSPID, LRPID; for | |
| shared memory segments: CPID, LPID. |
|
|
Display time information: for all facilities: | CTIME; | for message queues: STIME, | |
| RTIME; for shared memory segments: ATIME, DTIME; for semaphores: OTIME. | ||
The following options rede®ne the sources of information. |
|
| |
Use core in place of /dev/kmem. core can be a core ®le or a directory created by | |||
| savecrash or savecore. |
|
|
Use ®le namelist or the namelist within core in place of /stand/vmunix. It opens | |||
| a crash dump for reading. Please refer to cr_open(3) for more details. |
Column Descriptions
The column headings and the meaning of the columns in an ipcs listing are given below. The columns are printed from left to right in the order shown below.
TFacility type:
m Shared memory segment q Message queue
s Semaphore
ID | The identi®er for the facility entry. |
KEY | The key used as an argument to msgget(), semget(), or shmget() to create |
| the facility entry. (Note: The key of a shared memory segment is changed to |
| IPC_PRIVATE when the segment has been removed until all processes attached to |
| the segment detach it.) |
MODE | The facility access modes and ¯ags: The mode consists of 11 characters that are inter- |
| preted as follows: |
| The ®rst two characters can be: |
i
− 1 − | Section 1−361 |