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 lis

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 listener.l

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 L

Re: Listener Log Aging Script

2002-07-24 Thread Tim Gorman
> > 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 date then empty the log

RE: Listener Log Aging Script

2002-07-24 Thread Peter . McLarty
ted otherwise. 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 Wh

RE: Listener Log Aging Script

2002-07-24 Thread Orr, Steve
ull 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 > > Mak