Created
May 2, 2012 15:19
-
-
Save MarkRose/2577408 to your computer and use it in GitHub Desktop.
Count matching lines per second in a log file
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
# Use a command like this to watch the number of matching lines in a log file | |
tail -f logfile | grep whatever | pv -lr 2>&1 >/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍