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: Mike Killough <mwkillough_at_hotmail.com>
Date: Wed, 21 Feb 2001 09:54:44 -0800
Message-ID: <F001.002B9A38.20010221073646@fatcity.com>

Why don't you want to use lsnrctl? Wouldn't this tell you if a listener service is started?

$ lsnrctl stat | grep PRD
  PRD1 has 1 service handler(s)

>From: "Mohan, Ross" <MohanR_at_STARS-SMI.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: How to find a listener service without running lsnrctl servic
>Date: Wed, 21 Feb 2001 06:26:26 -0800
>
>hmmm....you could do some grepping in the listener.log i 'spose......
>
>-----Original Message-----
>Sent: Wednesday, February 21, 2001 8:06 AM
>To: Multiple recipients of list ORACLE-L
>
>
>
>Mohan,
>
>
>
>Thanks for your suggestion.
>
>
>
>Ps -ef | grep tns ----> gives me only the LISTENER. I would like to know
>a
>specific service that is started by a listener service or alternately I
>would like to grep for a specific service in the listener. For example, if
>my listener is starting a service by name - MINT4, I would like to know
>that
>the service MINT4 is up.
>
>
>
>Please suggest a way how to do this without doing lsnrctl services.
>
>
>
>Rao
>
>
>
>Maheswara.Rao_at_SunGardP3.com <mailto:Maheswara.Rao_at_SunGardP3.com>
>
>
>
>-----Original Message-----
>Sent: Tuesday, February 20, 2001 6:41 PM
>To: Multiple recipients of list ORACLE-L
>
>
>
>
>
>ps -ef | grep tns
>
>
>
>-----Original Message-----
><mailto:Maheswara.Rao_at_sungardp3.com> ]
>Sent: Tuesday, February 20, 2001 6:00 PM
>To: Multiple recipients of list ORACLE-L
>
>
>
>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
>
>
>
>
>



Get your FREE download of MSN Explorer at http://explorer.msn.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mike Killough
  INET: mwkillough_at_hotmail.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 - 11:54:44 CST

Original text of this message

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