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