Skip to content

My Command Line

Commands made simple

Monthly Archives: January 2017

Get Total Used Bandwidth as per Status from Squid Log

awk '{a[$4] += $5} END{for (i in a) print i, a[i]}' /var/log/squid/access.log

Posted byadminJanuary 5, 2017January 5, 2017Posted inUncategorizedLeave a comment on Get Total Used Bandwidth as per Status from Squid Log

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.