Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Web bandwidth determination with awk (See related posts)

cat access_log | awk '{sum += $10} END {print int(sum/1024/1024),"MB"}'

zcat access_log.something.gz | awk '{sum += $10} END {print int(sum/1024/1024),"MB"}'

You need to create an account or log in to post comments to this site.


Related Posts