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

Home -> Community -> Usenet -> c.d.o.misc -> 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: Brian Peasland <dba_at_nospam.peasland.net>
Date: Sat, 2 Dec 2006 22:59:22 GMT
Message-ID: <J9o570.9ps@igsrsparc2.er.usgs.gov>


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
>

To see the SID's of the currently running instances, do any of the following:

ps -ef|grep smon
ps -ef|grep pmon

To see which Oracle instances are scheduled to be started on reboot of your Solaris server, do the following:

cat /var/opt/oracle/oratab

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Sat Dec 02 2006 - 16:59:22 CST

Original text of this message

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