RE: Listener Log Aging Script

2002-07-24 Thread Orr, Steve
Make a copy of the file appended by the Julian date then empty the log via cat /dev/null listener.log. (You don't really need a cat.) -Original Message- Sent: Wednesday, July 24, 2002 9:50 AM To: Multiple recipients of list ORACLE-L Could anyone share their Unix script to age the

Re: Listener Log Aging Script

2002-07-24 Thread John Carlson
I posted this answer once before. How about wrapping this is a script of your choice: ARCHIVE_LISTENER_FILENAME=listener`date +%Y%m%d%H%M`.log lsnrctl set log_file listener2.log mv listener.log $ARCHIVE_LISTENER_FILENAME mv listener2.log

RE: Listener Log Aging Script

2002-07-24 Thread Erik Williams
Why is it necessary to null out the file? Does LSNR keep a open file handle open to it? -Original Message- From: Orr, Steve [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 12:25 PM To: Multiple recipients of list ORACLE-L Subject: RE: Listener Log Aging Script Make

Re: Listener Log Aging Script

2002-07-24 Thread Tim Gorman
PROTECTED]] Sent: Wednesday, July 24, 2002 12:25 PM To: Multiple recipients of list ORACLE-L Subject: RE: Listener Log Aging Script Make a copy of the file appended by the Julian date then empty the log via cat /dev/null listener.log. (You don't really need a cat.) -Original Message

RE: Listener Log Aging Script

2002-07-24 Thread Peter . McLarty
. Erik Williams [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 24-07-2002 09:43 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Fax to: Subject:RE: Listener Log Aging Script Why is it necessary to null out

RE: Listener Log Aging Script

2002-07-24 Thread Orr, Steve
? Does LSNR keep a open file handle open to it? -Original Message- From: Orr, Steve [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 12:25 PM To: Multiple recipients of list ORACLE-L Subject: RE: Listener Log Aging Script Make a copy of the file appended by the Julian