Skip to content

Instantly share code, notes, and snippets.

@sheeplogh
Created December 25, 2012 07:59
Show Gist options
  • Save sheeplogh/4372179 to your computer and use it in GitHub Desktop.
Save sheeplogh/4372179 to your computer and use it in GitHub Desktop.
get total bytes transferred in MB from apache accesslog.
$ cat ACCESS_lOG | awk '{bytes = bytes + $10} END {print bytes/1048576}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment