Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How do you check for alert log file for the latest error ?
On 11/15/06, Anand <shastry17_at_gmail.com> wrote:
> Hi all,
>
>
> How do you check for alert log file for the latest error ?
>
I use vi for this, but someone most cartainly have this scripted.
> Linux command to remove files in the log direcotory,in such a way that the
> last 15 days fills must exist but purge the remaining files?
>
find ./ -ctime +15 -exec rm {} \;
(been running in the directory you want to purge )
> What if the alert log file has been deleted by some script?
>
Then it doesn't exists and oracle will create a new on (if when trying
to write to it or during startup I don't know and haven't tested)
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Nov 15 2006 - 05:17:50 CST
![]() |
![]() |