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: LISTENER.LOG file compress

RE: LISTENER.LOG file compress

From: Tirumala, Surendra <Surendra.Tirumala_at_am.sony.com>
Date: Wed, 27 Jun 2001 10:20:33 -0700
Message-ID: <F001.0033A7A7.20010627103151@fatcity.com>

To rename the listener.log, try this(on Unix)

  1. cp listener.log listener.log.bu
  2. cat /dev/null > listener.log

OR you can have the following shell script submitted to cron to rename log file
at regular intervals.



DT=`date +%m%d%y%H%M`
cp listener.log listener.log.$DT
cat /dev/null > listener.log

Suren,
Consultant DBA,
Sony

-----Original Message-----

Sent: Wednesday, June 27, 2001 11:36 AM
To: Multiple recipients of list ORACLE-L

Hi
My Listener.log file big.I want to rename the listener.log file.Can you please suggest the steps.
Thanks
-Seema



Get your FREE download of MSN Explorer at http://explorer.msn.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Seema Singh
  INET: oracledbam_at_hotmail.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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Tirumala, Surendra
  INET: Surendra.Tirumala_at_am.sony.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 Jun 27 2001 - 12:20:33 CDT

Original text of this message

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