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: ORACLE API's

Re: ORACLE API's

From: Rachel Carmichael <wisernet100_at_yahoo.com>
Date: Wed, 26 Jun 2002 06:58:25 -0800
Message-ID: <F001.0048880E.20020626065825@fatcity.com>


why would you need APIs for that?

  1. (on unix) ps -ef|grep smon will tell you the instances running on the machine
  2. ps -ef|grep tnsl will tell you the listeners
  3. look at listener.ora in either $ORACLE_HOME/network/admin or /var/opt/oracle and it iwll give you the listener details as well as ports. Listeners don't listen on IP addresses
  4. env|grep ORACLE will give you the listing of the current ORACLE_HOME
  5. database user -- in sqlplus from an account with select any table:

select username from dba_users will give you the database users. If you want currently connected users, check v$session

I suggest a short session reading the Concepts and Reference manual might be in order


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.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).
Received on Wed Jun 26 2002 - 09:58:25 CDT

Original text of this message

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