Skip to content

Instantly share code, notes, and snippets.

@dschneider
Created October 25, 2013 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dschneider/7153398 to your computer and use it in GitHub Desktop.
Save dschneider/7153398 to your computer and use it in GitHub Desktop.
Mindblowing Ruby magic
tail -f /var/log/app/current |grep ip-11-26-26-121|grep total=|ruby -ane 'p $F.grep(/total/)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment