Tamamlanmış

Urgent : A very simple shell script help needed

Hi All,

I need a simple shell script written to trap logfile errors. This tas shoud be done in next 10 hours.

Logfile contents :

====================================

Thu May 15 14:14:06 2008

CREATE TABLESPACE csa_data LOGGING DATAFILE '/export/home/oracle/CSA_DB_2008A

MENT SPACE MANAGEMENT AUTO

Thu May 15 14:14:06 2008

ORA-1543 signalled during: CREATE TABLESPACE csa_data LOGGING DATAFILE '/expo

MENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO ...

Thu May 15 14:14:06 2008

CREATE TABLESPACE csa_indx LOGGING DATAFILE '/export/home/oracle/CSA_DB_2008A

MENT SPACE MANAGEMENT AUTO

ORA-1543 signalled during: CREATE TABLESPACE csa_indx LOGGING DATAFILE '/expo

rt/home/oacle/CSA_DB_2008A/CSA_TABLESPACE/[url removed, login to view]' SIZE 512M EXTENT MANAGE

MENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO ...

Thu May 15 14:14:07 2008

CREATE TABLESPACE csa_blob_data LOGGING DATAFILE '/export/home/oracle/CSA_DB_

LOCATE SEGMENT SPACE MANAGEMENT AUTO

====================================

The errors are tagged with ORA-

I need a script which will take logfile name as input parameter say xyz

Then the script need to look for ORA- errors and display them on screen.

But here is a catch, I can do above using grep ORA- xyz but the time is important for me.

The time is listed at 1 line above the ORA- error.

For a file above the screen dump should be like...

Thu May 15 14:14:06 2008

ORA-1543 signalled during: CREATE TABLESPACE csa_data LOGGING

and should continue till end of alrt file.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Linux, Unix

Beceriler: Her şey Kabul, Veri Girişi, Mühendislik, MySQL, PHP, Yazılım Mimarisi, Yazılım Test Etme

Daha fazlasını gör: line line segment, data input at home, create shell script, working at oracle, in linux shell script, shell script or, tas, shell script, rt, oracle data entry, ment, expo, dbf, data entry home program, catch local, create shell script linux, can auto urgent, shell unix, simple desktop management, simple continue

İşveren Hakkında:
( 47 değerlendirme ) Northwood, United Kingdom

Proje NO: #3950778

Seçilen:

inversen

See private message.

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(16 Değerlendirme)
3.5