On Wed, Jun 30, 2004 at 12:46:22PM -0300, Peter Marshall wrote:
> Is there anyway to have a human readable time in the access logs ?

/usr/bin/perl -nle '@x = split " ", $_, 2;
  print scalar localtime $x[0], " $x[1] ";' < access.log

Dave
-- 
** Dave Holland ** Systems Support  -  Special Projects Team **
** 01223 834244 ** Sanger Institute, Hinxton, Cambridge, UK  **
"Be sure to vent your whale before moving it."

Reply via email to