Tuesday, June 19, 2012

apache access log images average object size, total requests, total B/W used

cat 19_jun | grep -iE '(.gif|.jpg|.png|.jpeg)' | awk '{SUM += $10;COUNT +=1;} END {print SUM/(1024*1024*1024);print COUNT;print SUM/COUNT;}'

Blog Archive