Created
February 12, 2013 21:20
-
-
Save philz/4773497 to your computer and use it in GitHub Desktop.
Draw depending graph of jstack/stacks debug servlet output
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
dot -Tpng -o out.png <(cat stacks.txt | awk '/^Thread/ { cur = $2 } /Blocked by/ { print "t"cur, "->", "t"$3 } BEGIN { print "digraph G {"} END { print "}" }') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment