Please Help me with this ..High Priority!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Please Help me with this ..High Priority!
# 1  
Old 05-28-2008
Please Help me with this ..High Priority!

Hi,

I am a nw bie to Schell Scripting, i have a same king of requirement as posted above.

my input file is also a log file as below.....

28.05.2008 07:02:56,105 [<anonymous>, NETB/CHG20931-5,NETB] INFO [] [ValidationTimeMeasurer] Validation request recieved

28.05.2008 07:03:57,856 [<anonymous>, NETB/CHG20931-5,NETB] INFO [] [ValidationTimeMeasurer] 0:01:13.998 Response sent with: <?xml version="1.0" encoding="ISO-8859-1"?>

<OMSMessage Version="">

<OMSTransport>

<CorrelationData>

<dispatcher>

<systemId>NETB</systemId>

<userId>sNetBusine</userId>

<supplierCode>NETB</supplierCode>

</dispatcher>

<supplierIdentifier>NETB/CHG20931-5</supplierIdentifier>

</CorrelationData>

</OMSTransport>

<OMSMessageHeader>

<Response/>

<Key>OMS</Key>

</OMSMessageHeader>

<OMSMessageBody>

<CreateProcessInstance.Response>

<Validation>Sucessfull</Validation>

</CreateProcessInstance.Response>

</OMSMessageBody>

</OMSMessage>

and my requirement is to extract 5 Columns for the below pattern of files to excel sheet.

Starttime - 28.05.2008 07:02:56,105

Information - <anonymous>, NETB/CHG20931-5,NETB(With this combination)

EndTime - 28.05.2008 07:03:57,856

Difference- 0:01:13.998

Information - xmlinfo

may i know how to write a Shell Script to do this,,,,,, Any help regarding this would be appreciable..........


Thanks & Best Regards,
Balaji Gopalakrishnan
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

2. Red Hat

apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies

3. Solaris

How to activate "high" priority queues for codine (Sun Grid Engine) under solaris 10

How to activate "high" priority queues for codine (Sun Grid Engine) under solaris 10? What are the steps? (0 Replies)
Discussion started by: ionrivera
0 Replies

4. Red Hat

DNS priority

Hi All, Is this correct on DNS searching? (1st priority) /etc/hosts (2nd p.) /etc/resolv.conf Are there more things that I didn't know? Thank you for any comments you may add. (5 Replies)
Discussion started by: itik
5 Replies

5. AIX

priority for process

hi how to change the priority of a process for eg.if a,b,c these there process are running and if i have to give the b process as high priority and high severe level what should i do (3 Replies)
Discussion started by: senmak
3 Replies

6. Programming

kill priority

hello everybody! i would like to post a question. If i embed in my C code the command kill(9,pid) inside an if command. Is this command(kill) executed in any way. Both if the if is true and false. Does kill have greater priority than the if command. thanx in advance! (5 Replies)
Discussion started by: nicos
5 Replies

7. Shell Programming and Scripting

need help: how to send email with HIGH priority in shell scripts?

Hello, I know that mail or sendmail can be used to send email in a shell script. Is there any way I can set the priority of emails to send to HIGH? The reason why I want that is because my mobile email sends instant alert SMS's only for incoming emails with HIGH priority. (2 Replies)
Discussion started by: _joshua_
2 Replies

8. Programming

high priority thread contains an infinite loop

Hi, Assume there are 3 threads N1, N2, N3. in N1 { .... while(1) { } } when the thread N1 got the time slice, it started executing the infinite loop.. Note:there is no condition inside the while(1) to end the infinite loop I heard that some RTOS will solve this problem... (0 Replies)
Discussion started by: rvan
0 Replies

9. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies
Login or Register to Ask a Question