Skip to content

Instantly share code, notes, and snippets.

@garlandkr
Created April 12, 2013 18:59
Show Gist options
  • Save garlandkr/5374281 to your computer and use it in GitHub Desktop.
Save garlandkr/5374281 to your computer and use it in GitHub Desktop.
checking java thread stack
jstack `cat /var/run/logstash.pid` | grep '^"' | awk -F\" '{print $2}' | sed -re 's/[0-9]+/XXX/g' |sort -n | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment