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

Re: Yet another Apache log question

by tachyon (Chancellor)
on Dec 17, 2003 at 02:09 UTC ( [id://315199]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    blah blah blah GET /some/path/to/file.htm blah blah
    
  2. or download this
    [root@devel3 root]# cat ./simple_log_parse.pl 
    #!/usr/bin/perl -w
    ...
    /cgi-bin/                5366/376847   (1.42%)
    
    [root@devel3 root]#
    
  3. or download this
    [root@devel3 root]# cat ./simple_log_parse2.pl 
    #!/usr/bin/perl -w
    ...
        printf "%-20s %8d/%-8d (%.2f%%)\n", $_, $hash{$_}, $total, (100*$h
    +ash{$_}/$total);
    }
    [root@devel3 root]#
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found