> How to clear shared memory in UNIX - sapbasis

sapbasis

Share the Knowledge

Monday, 21 March 2011

How to clear shared memory in UNIX


How to clear shared memory of saposcol, sapccmsr(Normal procedure not clear) on Unix In case of can’t start or not attatched

** Myself
Command for show shared memory segment
ipcs -ma
Command for remove shared memory segment
ipcrm –m  <memory ID>


Key of share memory for saposcol, sapccmsr
Service Key share memory
saposcol 4dbe
sapccmsr  4dc4

Example for show/remove shared memory segment of saposcol
ipcs -ma|grep 4dbe
m 36901 0x00004dbe --rw-rw-rw- root sapsys root sapsys 1 20141728 2455 12342 19:11:12 19:11:12 18:01:14
ipcrm –m 36901

Example for show/remove shared memory segment of sapccmsr
ipcs -ma|grep 4dc4
m 36860 0x00004dc4 --rw-rw---- j2eeadmin sapsys j2eeadmin sapsys 2 20141728 3856 14332 19:19:32 19:19:32 18:09:34
ipcrm –m 36860


##Can be start again after finish or check by ipcs -ma again

No comments:

Post a Comment