Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Matching lines in 2+ GB logfiles.

by dbmathis (Scribe)
on May 01, 2008 at 15:04 UTC ( #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? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-01-19 20:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?