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: Mohan, Ross <MohanR_at_STARS-SMI.com>
Date: Wed, 21 Feb 2001 06:35:13 -0800
Message-ID: <F001.002B9803.20010221062626@fatcity.com>

<FONT face=Arial color=#0000ff
size=2>hmmm....you could do some grepping in the listener.log i 'spose......

<FONT face="Times New Roman"

  size=2>-----Original Message-----From: Rao, Maheswara   [mailto:Maheswara.Rao_at_sungardp3.com]Sent: Wednesday, February 21,   2001 8:06 AMTo: Multiple recipients of list   ORACLE-LSubject: RE: How to find a listener service without running   lsnrctl servic   

<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Mohan,
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Thanks   for your suggestion.
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Ps &#8211;ef   | grep tns
  --<FONT face=Wingdings

  color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"><SPAN 
  style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"><SPAN 
  class=EmailStyle18><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"> gives 
  me only the LISTENER. I would
  like to know a specific service that is started by<SPAN   style="mso-spacerun: yes"> a listener service or alternately I   would like to grep for a specific service in the listener.<SPAN   style="mso-spacerun: yes"> For example, if my listener is   starting a service by name &#8211; MINT4, I would like to know that the service   MINT4 is up.
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Please   suggest a way how to do this without doing lsnrctl   services.
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Rao
<FONT face=Arial color=navy

  size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">
<FONT

  color=navy><A title="Return Mail Address"   href="mailto:Maheswara.Rao_at_SunGardP3.com">Maheswara.Rao_at_SunGardP3.com<FONT   color=navy><SPAN
  style="COLOR: navy; mso-color-alt: windowtext">
<SPAN

  class=EmailStyle18><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">
<FONT face=Tahoma color=black

  size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">-----Original   Message-----From: Mohan,
  Ross [mailto:MohanR_at_stars-smi.com]<SPAN   style="FONT-WEIGHT: bold">Sent: Tuesday, February 20, 2001 6:41   PMTo: Multiple recipients of
  list ORACLE-LSubject: RE:
  How to find a listener service without running lsnrctl servic
<FONT face="Times New Roman"

  size=3><SPAN
  style="FONT-SIZE: 12pt">
<FONT face="Times New Roman"
  color=black size=3><FONT 
  color=black><SPAN 
  style="COLOR: black; mso-color-alt: windowtext">

<FONT face="Times New Roman" color=black
  size=2>ps -ef | grep
  tns
<SPAN

  style="COLOR: black; mso-color-alt: windowtext">
<FONT face="Times New Roman"
  color=black size=3><FONT 
  color=black><SPAN 
  style="COLOR: black; mso-color-alt: windowtext">

<FONT face="Times New Roman" color=black
  size=2>-----Original
  Message-----
<SPAN

  style="FONT-SIZE: 10pt; COLOR: black">From: Rao, Maheswara [<A   href="mailto:Maheswara.Rao_at_sungardp3.com">mailto:Maheswara.Rao_at_sungardp3.com]<FONT   color=black> <FONT color=black
  size=2>Sent: Tuesday, February 20,
  2001 6:00 PM
<SPAN

  style="FONT-SIZE: 10pt; COLOR: black">To: Multiple recipients of list   ORACLE-L
<SPAN

  style="FONT-SIZE: 10pt; COLOR: black">Subject: How to find a listener service   without running lsnrctl services<SPAN   style="COLOR: black"> <SPAN
  style="COLOR: black; mso-color-alt: windowtext">
<FONT face="Times New Roman"
  color=black size=3><FONT 
  color=black><SPAN 
  style="COLOR: black; mso-color-alt: windowtext">

<FONT face="Times New Roman" color=black
  size=2>Hi DBAs,<FONT
  color=black> <SPAN
  style="COLOR: black; mso-color-alt: windowtext">
<FONT face="Times New Roman" color=black
  size=2>I would like to find out
  whether a specific listener service is up or not<FONT
  color=black> <SPAN 
  style="COLOR: navy"><SPAN 
  style="mso-spacerun: yes"><FONT color=black 
  size=2>without running the command
  ---> lsnrctl services. Is there any way I can<FONT   color=black> <FONT color=black
  size=2>do this through a shell
  script or unix command?<SPAN
  style="COLOR: black"> <SPAN
  style="COLOR: black; mso-color-alt: windowtext">
<FONT face="Times New Roman" color=black
  size=2>My environment : Solaris
  2.7 : Oracle 8.0.4
<SPAN

  style="COLOR: black; mso-color-alt: windowtext">
<FONT face="Times New Roman" color=black
  size=2>Thanks for your
  help,
<SPAN

  style="COLOR: black; mso-color-alt: windowtext">
<FONT face="Times New Roman" color=black
  size=2>Rao<FONT
  color=black> <SPAN
  style="COLOR: black; mso-color-alt: windowtext">
<FONT face="Times New Roman" color=black
  size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: black">Maheswara.Rao_at_SunGardP3.com<FONT 
  color=black> <SPAN 
  style="COLOR: black; mso-color-alt: windowtext">

<FONT face="Times New Roman"
  color=black size=3><FONT 
  color=black><SPAN 
  style="COLOR: black; mso-color-alt: windowtext">

<FONT face="Times New Roman" color=black
  size=3><SPAN
  style="mso-spacerun: yes"><SPAN
  style="COLOR: black; mso-color-alt: windowtext"> Received on Wed Feb 21 2001 - 08:35:13 CST

Original text of this message

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