Created
February 24, 2015 09:57
-
-
Save iammart/32c4b8a463f2b2790916 to your computer and use it in GitHub Desktop.
Sum of awk column output in MB
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
zcat xxxx-Jan-2015.gz | grep autodiscover | awk '{ SUM +=$10 } END { print SUM/1024/1024 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment