Skip to content

Instantly share code, notes, and snippets.

@razie
Created May 23, 2017 18:50
Show Gist options
  • Save razie/183a8b78bbce445ce3eda9899c66f256 to your computer and use it in GitHub Desktop.
Save razie/183a8b78bbce445ce3eda9899c66f256 to your computer and use it in GitHub Desktop.
grep LF.STOP.PAGE logs/log.log | grep -v "/ping" | sed 's/.*LF.STOP.PAGE .* \(.*\) took \([0-9]*\)ms.*/\2 \1/g' | sort -n -r --key=1 | sort -r --key=2 | uniq --skip-fields=1 | sort -b -n -r | head -20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment