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: How do you check for alert log file for the latest error ?

Re: How do you check for alert log file for the latest error ?

From: Johan Eriksson <valpis_at_gmail.com>
Date: Mon, 20 Nov 2006 08:17:41 +0100
Message-ID: <6c133d8a0611192317g2a1e9887lcb197887b0a71d4e@mail.gmail.com>


On 11/20/06, Solo Mahi <solo.erp_at_gmail.com> wrote:
> Hi ,
>
> Cant we check the latest error of the alert log files by
>
> tail -f alert.log
>
> I think we can continously get the latest error . If I am wrong then do
> please correct me.
>
> Thanks
>
>

With tail you will get the last ines in the file, but nothing that tells you the last lines with errors in them, to get those you need to search.
tail -f just prints the last lines of the file as they are written to it

/johan

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Nov 20 2006 - 01:17:41 CST

Original text of this message

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