Created
December 25, 2012 07:59
-
-
Save sheeplogh/4372179 to your computer and use it in GitHub Desktop.
get total bytes transferred in MB from apache accesslog.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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