>
> Can any you tell me how I can get accessed date & time by log file...
>
#! /usr/bin/perl -p
s/^\d+\.\d+/localtime $&/e;
> a part of access.log is pasted here...
>
>
> 1077566391.786 670 192.168.1.195 TCP_MISS/304 391 GET http://c.msn.com/c.gif? - DIRECT/65.54.140.158 -
> 1077566393.589 10754 192.168.1.76 TCP_MISS/200 867 GET http://us.i1.yimg.com/us.yimg.com/i/greet/icon.gif - DIRECT/203.199.74.17 image/gif
> 1077566399.848 11949 192.168.1.65 TCP_MISS/200 320 HEAD http://us.dl1.yimg.com/download.yahoo.com/autoupdater/download/yupdater.yim - DIRECT/203.199.74.9 text/plain
> 1077566400.286 10533 192.168.1.195 TCP_MISS/200 1494 GET http://ads.hotbar.com/popups/bbflash/SpamFree_BBAR21_2_610.swf - DIRECT/165.254.12.102 application/octet-stream
> 1077566401.274 12863 192.168.1.206 TCP_MISS/200 199 POST http://reports.hotbar.com/reports/hotbar/3.0/HbRpt.dll - DIRECT/165.254.12.202 -
> 1077566402.731 13726 192.168.1.195 TCP_MISS/200 2325 GET http://us.update.companion.yahoo.com/slv/v4/res? - DIRECT/66.218.71.162 text/html
> 1077566403.674 13929 192.168.1.195 TCP_MISS/200 2912 GET http://adopt.hotbar.com/adopt.jsp? - DIRECT/165.254.12.131 text/html
>
>
Received on Mon Feb 23 2004 - 07:19:33 MST
This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST