Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Find Oracle Instance Names in UNIX Server

399 views
Skip to first unread message

m...@molhk.com.hk

unread,
Mar 16, 1999, 3:00:00 AM3/16/99
to
Pls kindly advise how I can find out which Oracle instances and Database exist
in UNIX Server. For a Server with multi-instance, I want to know the
combination of instance/database name (even they haven't started up).

Tks!!

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

Rene van Geijn

unread,
Mar 16, 1999, 3:00:00 AM3/16/99
to
/etc/oratab list all the instances on the machine.


Rene

Emmanuel Bontemps

unread,
Mar 16, 1999, 3:00:00 AM3/16/99
to m...@molhk.com.hk
To find which database are currently runing, for example :

$ ps -ef | grep pmon

For each process :
ora_<process_name>_<instance_name>

m...@molhk.com.hk a écrit :

George Dau

unread,
Mar 16, 1999, 3:00:00 AM3/16/99
to
m...@molhk.com.hk wrote:

]Pls kindly advise how I can find out which Oracle instances and Database exist


]in UNIX Server. For a Server with multi-instance, I want to know the
]combination of instance/database name (even they haven't started up).

As Rene suggested, /etc/oratab is the place to look. Also check for a
/var/opt/oracle/oratab

These will list database SIDs, but also oracle home directories. Go to these
oracle home directories and look in $ORACLE_HOME/dbs/pfile and see what
init$SID.ora files are there - could be more SIDs defined in there that are not
in oratab files.

--
,-,_|\ George Dau - Unix (Solaris, DEC Unix, Linux), Oracle, Internet. __
/ * \ Home: ge...@pobox.com ! Any views or opinions expressed (OO)
\_,--\_/ Work: ge...@isa.mim.com.au ! above may be mine, but are NOT ( \/ )
v WWW: http://pobox.com/~gedau ! necessarily those of M.I.M. W--W

0 new messages