Show IPC Interprocess Communication Facilities using ipcs Command



Computer Configuration GNU Linux Fedora using Linux Command

 

   The ipcs command can be use to provide the information on interprocess communication facilities (IPC).  The command example below show how to use the ipcs command to get the information about interprocess communication facilities, including the information on Shared Memory Segments, information on Semaphore Arrays, information on Message Queues.  The ipcs command below is execute to show the ipc facilities information on Linux Fedora 9.

Show all ipc facilities information using the ipcs command :  ipcs  or  ipcs -a

Show IPC Interprocess Communication Facilities using ipcs Command

[root@fedora ~]# ipcs -a

 

------ Shared Memory Segments --------

key        shmid      owner      perms      bytes      nattch     status

0x00000000 262144     root      600        393216     2          dest

0x00000000 32769      root      644        40         2

0x00000000 65538      root      644        16384      2

0x00000000 98307      root      644        268        2

0x00000000 294916     root      600        393216     2          dest

0x00000000 327685     root      600        393216     2          dest

0x00000000 360454     root      600        393216     2          dest

0x00000000 393223     root      600        393216     2          dest

0x00000000 425992     root      600        393216     2          dest

0x00000000 458761     root      600        393216     2          dest

0x00000000 491530     root      600        393216     2          dest

0x00000000 524299     root      600        393216     2          dest

0x00000000 557068     root      600        393216     2          dest

0x00000000 589837     root      600        393216     2          dest

0x00000000 622606     root      600        393216     2          dest

0x00000000 655375     root      600        393216     2          dest

 

------ Semaphore Arrays --------

key        semid      owner      perms      nsems

0x000000a7 0          root      600        1

0x4d003d23 131073     root      600        8

 

------ Message Queues --------

key        msqid      owner      perms      used-bytes   messages

 

[root@fedora ~]#

 

Other example using ipcs command:

Show ipc Shared Memory Segments

Show ipc Semaphore Arrays

Show ipc Message Queues

 




0 comments: