[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Script needed

Asked by columcusack in Bourne-Again Shell (bash), CGI Scripting, KornShell (ksh)

Tags: Extracting Data from logfile.

Hi Experts,

HP-UX  B.11.11 U

I'm hoping someone can really help me with this as follows.

Basically I need this.

1. I want to extract from the logfile,  24 hours all the messages which were delivered on the first attempt = X
2. Estimate the percentage of the messages delivered on the first attempt
3. Calculate the average time between the deliveries and submit times for those X attempts.

Two logfiles will cover one 24 hour period

Day1 & Day2

the data conatined within the each log will be in the following format, the code bellow is one line of code, i'll attach it in a txt file also.  Basically I could have a milliion of these in each file.  I'll explain the format of each line in the text file also.

0200099C01101C00000000353851111111000000000000telepath01101C00000000353852222222000000000000telepath091103235354000C091104000000000C
100C00125802828400261C0C0C00201010000000035385333333301010000000035385444444410tpgsm_0340_T

please view the attachment for more details, all is clearer in there





Attachments:
 
HPUX Script urgently needed
 
[+][-]11/05/09 08:56 AM, ID: 25751475Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/09 09:29 AM, ID: 25751805Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 12:28 PM, ID: 25762746Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 01:11 PM, ID: 25763093Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 09:46 PM, ID: 25765144Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/07/09 09:22 AM, ID: 25767143Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/08/09 05:53 AM, ID: 25770455Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/09/09 09:14 AM, ID: 25777870Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/09/09 09:32 AM, ID: 25778044Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/10/09 05:18 AM, ID: 25785001Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625