Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Identifying shared memory segment for oracle instance
This is a multipart message in MIME format.
--=_alternative 007080BB8525699F_=
Content-Type: text/plain; charset="us-ascii"
Hi,
See oracle note 68281.1. The note said that you can use svrmgrl and oradebug ipc.
Extract from the note.
SVRMGR> connect internal
Connected.
SVRMGR> oradebug ipc
The following output shows the shared memory segment and semaphore segment:
Seg Id Address Size 6665 c4c94000 6422528
Then look to verify this is running with the following command
% ipcs -b
m 6665 0x5fa37342 --rw-r----- osupport dba 6422528 s 2828 0x00000000 --ra-r----- osupport dba 50 ====================================================================
Danut,
Prasada.Gunda1_at_hartfordlife.com
Sent by: root_at_fatcity.com
11/22/00 01:25 PM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: Subject: Identifying shared memory segment for oracle instance
Hi,
We have 3 oracle instances(8.1.6) running on unix(hp-ux v11) box.
Following 'ipcs -m' command shows the shared memory segments for 3
instances.
How do I know which shared segment belongs to which oracle instance.
All your inputs are appreciated.
Thanks in advance,
Regards,
prasad
$ ipcs -m
IPC status from /dev/kmem as of Wed Nov 22 13:19:57 2000
T ID KEY MODE OWNER GROUP
Shared Memory:
m 0 0x2fd80002 --rw------- root sys m 1 0x41dc361e --rw-rw-rw- root root m 2 0x4ecc0002 --rw-rw-rw- root root m 3 0x41e0383e --rw-rw-rw- root root m 4 0x0c6629c9 --rw-r----- root root m 5 0x06347849 --rw-rw-rw- root root m 48134 0xb55feaac --rw-r----- oracle oinstall m 140296 0x67c69240 --rw-r----- oracle oinstall m 8713 0x1a2d39d4 --rw-r----- oracle oinstall
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Prasada.Gunda1_at_hartfordlife.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). --=_alternative 007080BB8525699F_= Content-Type: text/html; charset="us-ascii" <br><font size=2 face="sans-serif">Hi,</font> <br> <br><font size=2 face="sans-serif">See oracle note 68281.1. The note said that you can use svrmgrl and oradebug ipc.</font> <br> <br><font size=2 face="sans-serif">Extract from the note.</font> <br> <br><font size=2 face="sans-serif">====================================================================</font> <br><font size=2 face="sans-serif">The following is an example of how to proceed: </font> <br><font size=2 face="sans-serif"> </font> <br><font size=2 face="sans-serif"> SVRMGR> connect internal </font> <br><font size=2 face="sans-serif"> Connected. </font> <br> <br><font size=2 face="sans-serif"> SVRMGR> oradebug ipc </font> <br> <br><font size=2 face="sans-serif"> -------------- Shared memory -------------- </font> <br><font size=2 face="sans-serif"> Seg Id Address Size </font> <br><font size=2 face="sans-serif"> 6665 c4c94000 6422528 </font> <br><font size=2 face="sans-serif"> Total: # of segments = 1, size = 6422528 </font> <br><font size=2 face="sans-serif"> -------------- Semaphores ---------------- </font> <br><font size=2 face="sans-serif"> Total number of semaphores = 50 </font> <br><font size=2 face="sans-serif"> Number of semaphores per set = 50 </font> <br><font size=2 face="sans-serif"> Number of semaphore sets = 1 </font> <br><font size=2 face="sans-serif"> Semaphore identifiers: </font> <br><font size=2 face="sans-serif"> 2828 </font> <br><font size=2 face="sans-serif"> </font> <br><font size=2 face="sans-serif"> The following output shows the shared memory segment and semaphore segment: </font> <br><font size=2 face="sans-serif"> </font> <br><font size=2 face="sans-serif"> Seg Id Address Size </font> <br><font size=2 face="sans-serif"> 6665 c4c94000 6422528 </font> <br><font size=2 face="sans-serif"> Semaphore identifiers: </font> <br><font size=2 face="sans-serif"> 2828 </font> <br><font size=2 face="sans-serif"> </font> <br><font size=2 face="sans-serif"> Then look to verify this is running with the following command</font> <br> <br><font size=2 face="sans-serif"> % ipcs -b </font> <br><font size=2 face="sans-serif"> </font> <br><font size=2 face="sans-serif"> m 6665 0x5fa37342 --rw-r----- osupport dba 6422528 </font> <br><font size=2 face="sans-serif"> s 2828 0x00000000 --ra-r----- osupport dba 50 </font> <br><font size=2 face="sans-serif"> </font> <br><font size=2 face="sans-serif">====================================================================</font> <br> <br><font size=2 face="sans-serif">Danut,</font> <br> <br> <br> <br> <table width=100%> <tr valign=top> <td> <td><font size=1 face="sans-serif"><b>Prasada.Gunda1_at_hartfordlife.com</b></font> <br><font size=1 face="sans-serif">Sent by: root_at_fatcity.com</font> <p><font size=1 face="sans-serif">11/22/00 01:25 PM</font> <br><font size=1 face="sans-serif">Please respond to ORACLE-L</font> <br> <td><font size=1 face="Arial"> </font> <br><font size=1 face="sans-serif"> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com></font> <br><font size=1 face="sans-serif"> cc: </font> <br><font size=1 face="sans-serif"> Subject: Identifying shared memory segment for oracle instance</font></table> <br> <br><font size=2 face="Courier New"><br> Hi,<br> <br> We have 3 oracle instances(8.1.6) running on unix(hp-ux v11) box.<br> Following 'ipcs -m' command shows the shared memory segments for 3 instances.<br> How do I know which shared segment belongs to which oracle instance.<br> <br> All your inputs are appreciated.<br> <br> Thanks in advance,<br> Regards,<br> prasad<br> <br>Received on Wed Nov 22 2000 - 14:28:49 CST
$ ipcs -m<br>
IPC status from /dev/kmem as of Wed Nov 22 13:19:57 2000<br> T ID KEY MODE OWNER GROUP<br> Shared Memory:<br> m 0 0x2fd80002 --rw------- root sys<br> m 1 0x41dc361e --rw-rw-rw- root root<br> m 2 0x4ecc0002 --rw-rw-rw- root root<br> m 3 0x41e0383e --rw-rw-rw- root root<br> m 4 0x0c6629c9 --rw-r----- root root<br> m 5 0x06347849 --rw-rw-rw- root root<br> m 48134 0xb55feaac --rw-r----- oracle oinstall<br> m 140296 0x67c69240 --rw-r----- oracle oinstall<br> m 8713 0x1a2d39d4 --rw-r----- oracle oinstall<br> <br> <br> <br> -- <br> Please see the official ORACLE-L FAQ: http://www.orafaq.com<br> -- <br> Author: <br> INET: Prasada.Gunda1_at_hartfordlife.com<br> <br> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051<br> San Diego, California -- Public Internet access / Mailing Lists<br> --------------------------------------------------------------------<br> To REMOVE yourself from this mailing list, send an E-Mail message<br> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in<br> the message BODY, include a line containing: UNSUB ORACLE-L<br>