Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: oracle scan log script

Re: oracle scan log script

From: Sybrand Bakker <sybrandb_at_hccnet.nl>
Date: Mon, 03 May 2004 19:28:01 +0200
Message-ID: <470d90lmmcksdf2cs46s1vfgg449aorkaj@4ax.com>


On Mon, 03 May 2004 09:22:53 -0500, Ed Stevens <nospam_at_noway.nohow> wrote:

>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.

I have to disagree. That won't capture many, many warnings and messages, including 'Cannot allocate log, archival required'

--
Sybrand Bakker, Senior Oracle DBA
Received on Mon May 03 2004 - 12:28:01 CDT

Original text of this message

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