Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Matching lines in 2+ GB logfiles.

by dbmathis (Scribe)
on May 01, 2008 at 15:04 UTC ( [id://683943]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    #
    # Proof-of-concept for using minimal memory to search huge
    ...
    
        close(F);
    }
    
  2. or download this
    while ( $window =~ m/$re/oigcs ) {
                &$callback($1);
            }
    
  3. or download this
    while ( $window =~ m/\w{3}\s{1,2}\d{1,2}.*$re.*\n/oigc ) {
                &$callback($1);
            }
    
  4. or download this
    Feb 24 04:03:47 server sendmail[]: khdkahsdad876sad8: to=<sample@colle
    +geclub.com>, delay=1+13:12:11, xdelay=00:00:00, mail
    er=esmtp, pri=25672345, relay=collegeclub.com., dsn=4.0.0, stat=Deferr
    +ed: Connection timed out with collegeclub.com.
    Feb 24 04:03:47 server sendmail[31356]: madhksadkh5574: to=<sample@iit
    +.edu>, delay=1+13:20:32, xdelay=00:00:00, mailer=esmtp,
     pri=26574dffd, relay=sample.iit.edu. [006.47.143.000], dsn=4.3.1, sta
    +t=Deferred: 452 sample 4.2.1 Mailbox temporarily disabled: sample@iit
    +.edu
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://683943]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2024-04-25 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found