Wednesday, 6 April 2016

Clean memory on Unix and Linux

Assuming the SAP system is shut down!

To list semaphores and event flags
cleanipc

To remove leftover semaphores and event flags
cleanipc remove


To list shared memory
ipcs -m

To remove entry
ipcrm -M or
ipcrm -m


To list semaphores
ipcs -s

To remove semaphore entry
ipcs - S or
ipcs -s

Details from:
http://www.ibm.com/support/knowledgecenter/ssw_aix_53/com.ibm.aix.cmds/doc/aixcmds3/ipcs.htm
http://www.ibm.com/support/knowledgecenter/ssw_aix_53/com.ibm.aix.cmds/doc/aixcmds3/ipcrm.htm

No comments:

Post a Comment