Skip to content

My Command Line

Commands made simple

Monthly Archives: May 2019

To retrieve the total GETs and B/w per minute from haproxy log

cat /var/log/haproxy.log | awk '{print $3":"$12}' | awk -F: '{a[$1":"$2]+=$4} {b[$1":"$2]++} END {for (i in a) print i, a[i]/1024/1024, b[i] |"sort -u"}'

Posted byadminMay 12, 2019Posted inUncategorizedLeave a comment on To retrieve the total GETs and B/w per minute from haproxy 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.