Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Listener Log Aging Script
See John Carlson's answer. You could shut down the listener and delete or
rename the file but why bother when you can just
>/dev/null>listener.log
-----Original Message-----
Sent: Wednesday, July 24, 2002 10:44 AM
To: Multiple recipients of list ORACLE-L
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:sorr_at_rightnow.com]
> 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-----
> Sent: Wednesday, July 24, 2002 9:50 AM
> To: Multiple recipients of list ORACLE-L
>
>
> Could anyone share their Unix script to age the listener log file? I know
> that this has been posted to the group in the past, but I was unable to
> find
> it in the archives at FatCity.
>
> Thanks.
> Erik
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Orr, Steve INET: sorr_at_rightnow.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 Jul 24 2002 - 12:18:29 CDT