Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: truncating log file
Hi Onkar,
to empty a file in Unix/Windows
Run this "safe" command on unix:
> alert_db.log
> listener_db.log
On Windows you can just run:
echo "" > alert_db.log
But always remember to make the copy of log file.. for diagnosis purpose.
Regards,
Sunil Bhola
Onkar N Tiwary <onkarnath.tiwary_at_gmail.com> wrote:
Hi all,
Few days ago I had seen one mail containing the method of truncating a log file and setting its size to say few megs without opening it on windows 2000 but now I don remember the command. If anyone can either forward that mail and pass me the command , will be obliged.
-- Thanks & Regards, T. Onkar Nath Ph : +91-9826728111(Cell) to_onkar_at_yahoo.com onkarnath.tiwary_at_gmail.com Regards, Sunil Bhola Oracle_Expert, Moderator --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -- http://www.freelists.org/webpage/oracle-lReceived on Mon Jun 20 2005 - 10:01:21 CDT
![]() |
![]() |