Skip to content

Instantly share code, notes, and snippets.

@nowlinuxing
Created August 28, 2013 06:09
Show Gist options
  • Save nowlinuxing/6362609 to your computer and use it in GitHub Desktop.
Save nowlinuxing/6362609 to your computer and use it in GitHub Desktop.
slow response ranking of production log of Rails
awk '/^Started /{t=$8} /^Completed /{print t,$5,$7,$10}' log/production.log | sort -k 2,2nr | head -20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment