Parse the squid log file to sum up all the request size Posted byadmin September 13, 2012 Leave a comment on Parse the squid log file to sum up all the request size echo $(( $(cat /var/log/squid/access.log | grep -v "DENIED" | awk '{print $5}' | tr '\n' '+' ) 0 ))