1836466 Members
2224 Online
110101 Solutions
New Discussion

ipcs usage

 
Prashant Zanwar
Occasional Advisor

ipcs usage

Hi
Can someone tell the usage of ipcs command.

I want to know specifically how to see the shared memory usage and how much maximum shared memory a process can use...

Please explain if any more features are there of this command..
I will summerize...

Regards
Prashant
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: ipcs usage

Hi Prashant,

# ipcs -moab
display shared memoty usage.

and for you second question, take a look at this doc,

Ipcs and related kernel parameters
DocId: KBRC00010660 Updated: 9/25/02 11:58:00 AM

http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000064209317

Hope it helps,

Robert-Jan.
twang
Honored Contributor

Re: ipcs usage

display allocated memory segments:
# ipcs -pmb

manually deallocated a memory segment
# ipcrm -m 404144
(404144: segment ID)

count used semaphores
# ipcs -sa |grep oracle

remove a held semaphore after a crash
# ipcs -sa |grep oracle
s 4518 0xc9d9cb2c --ra-r----- oradb dba oradb dba 79 23:34:34 10:32:39

# ipcrm -s 4518
Jairo Campana
Trusted Contributor

Re: ipcs usage

Prashant Zanwar
Occasional Advisor

Re: ipcs usage

Thanks to all who replied..Seems interesting..Thanks again