Wednesday, February 13, 2008

Search alert.log for errors (UNIX)

sed -n '/Mon Feb 11.*2008/,/Thu Feb 14.*2008/p' alert_ispb.log | grep ORA

This command searches alert_ispb.log from 11/02/2008 to the end of 13/02/2008 and reports Oracle errors.

No comments:

Post a Comment