Created
April 22, 2016 19:30
-
-
Save mfdj/a9bcf6448b757169e55d6111028ff7fe to your computer and use it in GitHub Desktop.
grep | awk | tr | past | bc
This file contains hidden or 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
grep 'ms' $LOG_FILE | awk '{print $(NF-0)}' | tr -d '()ms' | paste -sd+ - | bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just a rough idea of aggregate time logged to a file where
(…ms)
is in the last word-column of a line