Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: general question....

RE: general question....

From: Frank N. Pettinato <frankp_at_extremezone.com>
Date: Mon, 14 Aug 2000 17:39:14 -0700
Message-Id: <10589.114562@fatcity.com>


Use sed to scan for a string and then print it out.

HTH,
Frank Pettinato
Oracle DBA
Intel Corp.

-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of bill thater Sent: Monday, August 14, 2000 8:25 AM
To: Multiple recipients of list ORACLE-L Subject: general question....

before i go reinvent the wheel:

i need to scan the alert logs for a number of databases for any ORA lines and print out a couple of lines before and a couple of lines after each occurrence. {V7 & 8 on solaris and hp-ux] and no tail just gives me a lot of "tablespace blah end backup" lines thanks to EMC's EDM. :-( and yes i know i can tail more lines but they've just imposed size limits on emails.:-( hence my quest for just those lines and the date line before them.

so does anybody have a script to do this that they're willing to share? or a pointer to one?

thanks

--
Bill Thater             Certified ORACLE DBA
Telergy, Inc.            thaterw_at_telergy.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"We are different, in essence from other men.
If you want to will something run 100m. If you want to experience something run a marathon" Emil Zatopek ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"First things first, but not necessarily in that order."
                  --Doctor Who -- Author: bill thater INET: thaterw_at_telergy.net Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Received on Mon Aug 14 2000 - 19:39:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US