Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Matching lines in 2+ GB logfiles.

by Anonymous Monk
on May 02, 2008 at 01:05 UTC ( #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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2022-01-29 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?