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: How to find a listener service without running lsnrctl servic

RE: How to find a listener service without running lsnrctl servic

From: Rao, Maheswara <Maheswara.Rao_at_Sungardp3.com>
Date: Wed, 21 Feb 2001 10:07:46 -0800
Message-ID: <F001.002B978A.20010221061126@fatcity.com>

Hi Djordje,

Thank you for the suggestion.

Doing grep for a specific service on an output produced by lsnrctl services, yes, I could get the answer. However, I am trying to create a shell script through which the user will find whether a specific listener service is up or not. The problem is I do not want to give the password of listener. Also, by greping the output of lsnrctl --- this output could have been produced some time back but at the time the user is querying the service might be down.

Please suggest a way to do the above.

Thanks,

Rao
Maheswara.Rao_at_SunGardP3.com

-----Original Message-----
Sent: Tuesday, February 20, 2001 6:50 PM To: Multiple recipients of list ORACLE-L

Why not running it from a script, and grep and awk from output wht you need to see ?

Djordje

> Hi DBAs,
>
> I would like to find out whether a specific listener service is up or not
without running the command ---> lsnrctl services. Is there any way I can do this through a shell script or unix command?
>
> My environment : Solaris 2.7 : Oracle 8.0.4
>
> Thanks for your help,
>
> Rao
>
> Maheswara.Rao_at_SunGardP3.com
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rao, Maheswara
  INET: Maheswara.Rao_at_Sungardp3.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 Feb 21 2001 - 12:07:46 CST

Original text of this message

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