Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: oracle scan log script
On 30 Apr 2004 19:50:13 -0700, tpreto7_at_sapo.pt (Teresa) wrote:
>Hello
>
>Does any one have a general script that scans the oracle logs? I'm
>looking for a script that can scan the alert.log etc
>Thanks!
>Teresa
OS?
On unix --
cat alert.log | grep 'ORA-'
On Win --
find /I "ORA-" alert.log
That's the guts of it. I leave redirect to an output log, changing the value being scanned for, etc. as an exercise for the student. Received on Mon May 03 2004 - 09:22:53 CDT