Re: How do you check for alert log file for the latest error ?
- From: "Johan Eriksson" <valpis@xxxxxxxxx>
- To: shastry17@xxxxxxxxx
- Date: Wed, 15 Nov 2006 12:17:50 +0100
On 11/15/06, Anand <shastry17@xxxxxxxxx> 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-l
- References:
Other related posts:
- » 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 ?
- » 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 ?
- » 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 ?
- » Re: How do you check for alert log file for the latest error ?
Hi all, How do you check for alert log file for the latest error ?
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?
What if the alert log file has been deleted by some script?