1846576 Members
2220 Online
110256 Solutions
New Discussion

ipcs -s command output

 
SOLVED
Go to solution
Shivkumar
Super Advisor

ipcs -s command output

Hi,

How to interpret the output of "$ipcs -s" command ?

Thanks,
Shiv
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: ipcs -s command output

I would start with a "man ipcs"; the -s specifies semaphores -- on of the 3 IPC mechanisms (shared memory and messages being the other two).
If it ain't broke, I can fix that.
Yogeeraj_1
Honored Contributor

Re: ipcs -s command output

hi shiv,

ipcs command is used to displays certain information about active interprocess communication facilities.

as stated above, you should see your man pages for more details.

You may wish to post a snapshot from your server for us to comment.

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Arunvijai_4
Honored Contributor

Re: ipcs -s command output

Hi Shiv,

"ipcs" is used to get Interprocess Communication details mostle about Semaphores.

Here is a good intro and some advanced talks about ipcs

http://linuxgazette.net/issue89/raghu.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sung Oh
Respected Contributor

Re: ipcs -s command output

Hi Shiv,

"ipcs -s" to view semaphore in shared memories. and when the application failed to exit gracefully, it will leave some junk in the shared memories. you can use "ipcs -m" to view those as well and use "ipcs -m " to clean up the shared memories that you think you need to get rid of.

I hope this helps,

Sung
Steven E. Protter
Exalted Contributor
Solution

Re: ipcs -s command output

Shalom Shiv,

if this relates to your webshere question, you should see shared memory on the ipscs display that websphere uses for Inter Process Communication.

When someone connects to webshere, they get a process and IPC is how that process talks to and accesses memory from the server process.

The most important aspect of ipcs output is the owner. If the ownership of the shared memory is not correct, then it can't be shared properly and the communication process fails. This is one possible cause of the problems you report earlier with websphere.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com