Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Matching lines in 2+ GB logfiles.

by Anonymous Monk
on May 02, 2008 at 01:05 UTC ( [id://684068]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ( $window =~ m/([a-zA-Z]{3}\s{1,2}\d{1,2}.*\n)/oigc  ) {
                $line = $1;
    ...
                    &$callback($line);
                }
            }
    
  2. or download this
    ls -ltrh /var/log/syslog-ng/server2/ | grep maillog.2
    -rw-r----- 1 root logs 484M Mar 11 11:13 maillog.2
    ...
    Thu May  1 19:31:57 CDT 2008
    
    Time Taken: 189 Seconds
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found