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: lsnrctl commands

RE: lsnrctl commands

From: Reidy, Ron <Ron.Reidy_at_arraybiopharma.com>
Date: Mon, 26 Feb 2007 15:57:39 -0700
Message-ID: <7209E76DACFED9469D4F5169F9880C7A67555C@mail01bldr.arraybp.com>


Unix utilities are your friends:  

egrep -i "^LOG" | cut -field=2 -delimiter='='  

--

Ron Reidy

Lead DBA

Array BioPharma, Inc.  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Smith, Steven K - MSHA
Sent: Monday, February 26, 2007 3:28 PM
To: oracle-l_at_freelists.org
Subject: lsnrctl commands  

Is there any way to run multiple lsnrctl commands on the same command line? Our listeners are password protected. I'm putting together a script to rotate the logs and I want to dynamically pull the log directory and file name from the lsnrctl utility. I'm having trouble finding the syntax to execute both the set password and the show log_directory on the same lsnrctl command prompt.  

for an example of what I'm trying to accomplish:  

lsnrctl set password pa55w0rd show log_directory  

But this syntax doesn't work past the 'set password'  

Thanks  

Steve Smith

Envision Technology Partners / MSHA MSIS Team

Desk: 303-231-5499  

This electronic message transmission is a PRIVATE communication which contains information which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. Please notify the sender of the delivery error by replying to this message, or notify us by telephone (877-633-2436, ext. 0), and then delete it from your system.

--

http://www.freelists.org/webpage/oracle-l Received on Mon Feb 26 2007 - 16:57:39 CST

Original text of this message

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