When I see a humungous file like that, I build a little
ksh
script that hasn't failed me yet.
suffix=`date +%y%m%d`
cp -p alertSID.log alertSID_${suffix}.log
> alertSID.log
The only thing that might happen is if Oracle is updating
the
log file at EXACTLY the moment you execute this script then
that
log line may be lost. As I said, it hasn't happened - yet -
that
I know of - but YMMV.
Cheers,
Mike
|
- alert log file AK
- RE: alert log file MARREIROS,RUI (HP-Portugal,ex1)
- RE: alert log file Pete Sharman
- RE: alert log file Farnsworth, Dave
- Re: alert log file Rachel Carmichael
- Re: alert log file Scott Stefick
- Re: alert log file Ron Rogers
- RE: alert log file Vergara, Michael (TEM)
- RE: alert log file Whittle Jerome Contr NCI
- Re: alert log file AK