Skip to content

My Command Line

Commands made simple

Monthly Archives: August 2012

Convert unixtime to human readable format in squid's access.log file

perl -p -e 's/^([0-9]*)/"[".localtime($1)."]"/e' < /var/log/squid/access.log

Posted byadminAugust 31, 2012Posted inUncategorizedLeave a comment on Convert unixtime to human readable format in squid's access.log file

Recent Posts

  • Disable SELINUX from shell script
  • To retrieve the total GETs and B/w per minute from haproxy log
  • Replacing new line character
  • Get Total Used Bandwidth as per Status from Squid Log
  • To recover deleted files in Linux

Recent Comments

  • Makito39Yt41 on Determine block size of a disk

Archives

  • December 2019
  • May 2019
  • June 2017
  • January 2017
  • December 2016
  • March 2016
  • November 2013
  • September 2013
  • August 2013
  • November 2012
  • September 2012
  • August 2012
  • August 2011
  • July 2011

Categories

  • Linux
  • Uncategorized

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
My Command Line, Proudly powered by WordPress.