Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to view alert log

Green-bitDec 11 2013 — edited Dec 11 2013

Hello Guys, I have a question on how to view the alert log. I mean, alert log is such a huge file and for the most recent alerts I could do "tail -<num> <alert_log_name>" but what if I wanted to view something that happened few days ago in the alert log, and the content pertaining to that day would be some where middle of the file, I cant possibly do "vi <alert_log name>", since that will take me forever to get to the point where I want to go. So how do I go about viewing the alert log for a given period of time, is there a unix command which I can use?

Thank You

Oracle-Version 11.2.0.2.0

OS - SunOS

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2014
Added on Dec 11 2013
18 comments
2,729 views