ipc subcommand
The ipc subcommand reports interprocess communication facility information.
Format
ipc [menu options]
Parameters
Item | Description |
---|---|
menu options | Menu options and parameters can be entered along with the subcommand to avoid display of menus and prompts. |
If this subcommand is invoked without parameters, then menus and prompts are used to determine the data to be displayed. If the menu selections and required values are known, you can enter them as subcommand parameters.
ipc 1 [1..3] to print message queue information
ipc 2 [1..2] to print shared memory information
ipc 3 [1..2] to print semaphore information
Other
No aliases.
Examples
The following is an example of how to use the ipc subcommand:
KDB(0)> ipc
IPC info
Select the display:
1) Message Queues
2) Shared Memory
3) Semaphores
Enter your choice: 1
1) all msqid_ds
2) select one msqid_ds
3) struct msg
Enter your choice: 1
Message Queue ID 00000000 @ D0000000
uid........... 48454150 gid........... 00043000
cuid.......... 00000000 cgid.......... 00000001
mode.......... 0000FFBD seq........... 0000
key........... 40000000
msg_first..... 00000000
msg_last...... 00000000
msg_cbytes.... 00000000 msg_qnum...... 00000000
msg_qbytes.... 00000000
msg_lspid..... 00000000
msg_lrpid..... 00000000
msg_stime..... 00000000
msg_rtime..... 00000000
msg_ctime..... 00000000
msg_rwait..... 00000000 msg_wwait..... 00000000
msg_reqevents. 0000
msg_next...... 00000000
msg_prev...... 00000000
orig_msqid.... 00000000 cur_msqid..... 00000000 crid.......... 00000000
vhat_next..... 00000000
vhat_prev..... 00000000
rt_ipcx....... 00000000
maxmsg........ 00000000
notify........ NULL
KDB(0)>