Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Find out the name of Oracle DB on a solaris server?

Re: Find out the name of Oracle DB on a solaris server?

From: joel garry <joel-garry_at_home.com>
Date: 1 Dec 2006 14:32:29 -0800
Message-ID: <1165012348.911150.100820@f1g2000cwa.googlegroups.com>

lazyboy_2k_at_yahoo.com wrote:
> Hi,
>
> Is there a way to find out how many oracle db & their names on a
> solaris server? I run ps -ef |grep ora, however the output is too
> broad & I'd like to narrow it down. Any helps are appreciated.
>
> TIA,
> -Chris

Don't forget, not every db may be up. Look for oratab (perhaps somewhere under /opt or /etc). Look in directories that have an SID listed for other SID's. Look for similar directory structures, for example, if you have /u02/oradata/PROD, see if there is /u*/oradata/*. Look for oracle homes, and directories named dbs under them. Look for files named [si]*ora and lk*. Look everywhere (including client systems) for tnsnames.ora.

There's a lot of creativity out there, unfortunately, not to mention sloppiness.

jg

--
@home.com is bogus.
"Oracle apparently won an ugly contest." - Pete Lindstrom
Received on Fri Dec 01 2006 - 16:32:29 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US