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!

grep in alert.log

Frank Wiessner-OracleJun 18 2008 — edited Jun 18 2008
Hello, i want to grep the startup time from the Database in the alert.log

But grep "Starting ORACLE instance" alert.log returns only the Starting String.
I need also the Date line. Has anybody a solution with sed or awk where i can extract the Date line an the startup line from the Alert.log?

regards
Frank
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2008
Added on Jun 18 2008
2 comments
801 views