User Profile

Collapse

Profile Sidebar

Collapse
hassan470
hassan470
Last Activity: Dec 13 '07, 11:02 PM
Joined: Nov 16 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I need to get the part of the log file within the following time range using regular expression:

    (/20071115-09:30:00 ~ 20071115-11:00:00/);...
    See more | Go to post

    Leave a comment:


  • My grep code is unix command line code.

    The data file is raw log file. (FIX messages).
    Exactly like this:
    8=FIX.4.29=74 35=A49=AXESNET 56=ATLAFM34=1 43=N97=N52=2 0071101-06:01:3798=01 08=6010=237AT LAFM AXESNET 0  _ 8=FIX.4.29=73 35=049=AXESNET 56=ATLAFM34=2 43=N97=N52=2 0071101-06:01:37112=07 013610=195ATL AFM AXESNET 0  T 8=FIX.4.29...
    See more | Go to post

    Leave a comment:


  • hassan470
    started a topic To grep a file within a time range using PERL
    in Perl

    To grep a file within a time range using PERL

    I work in an investment bank. We have a huge log file which contains FIX messages. I have a problem to grep FIX messages within a time rage (i.e. between 9:30 am to 11 pm, those were sent by CITIBANK for ticker symbol MSFT). I tried different ways but it did not work. Could anyone please help me?

    Here is one of the codes in perl:

    [CODE=perl]#!/usr/bin/perl –w

    $myfile = “/tmp/fixlog.txt”;
    open(FH,...
    See more | Go to post
    Last edited by eWish; Nov 16 '07, 08:39 PM. Reason: Added Code Tags
No activity results to display
Show More
Working...