Created
February 2, 2017 17:24
-
-
Save tomhat/b3bad7f22060c84c8298728864f8ef34 to your computer and use it in GitHub Desktop.
Count send mail num per Hourly (one liner)
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
for i in 16 17 18 19 20 21 22; do echo ${i}:`cat ~/temp/maillog.20170203.csv |grep "^2016/02/01 ${i}:"|wc -l`; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment