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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Finding out what user oracle is installed under

Re: Finding out what user oracle is installed under

From: Grant Allen <gxallen_at_gmail.com>
Date: Sat, 03 Feb 2007 05:51:45 +1100
Message-ID: <45C38841.6040401@gmail.com>


John Dunn wrote:
> Is there a database query that will tell me what Unix account oracle
> is installed under? I know that in most cases this will be oracle, but
> is there a database query that will tell me?

This is more a SQL*Plus+shell command rather than a query, but if you're worried about the case of installed account not matching running account, you could always:

SQL> ! ls -l $ORACLE_HOME/bin/oracle | awk '{print $3}' oracle

I'll leave relevant changes as an exercise for the reader if your operating system promises you "genuine advantage" :-)

Ciao
Fuzzy
:-)

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Feb 02 2007 - 12:51:45 CST

Original text of this message

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