Created
September 5, 2012 11:36
-
-
Save pfmiles/3635376 to your computer and use it in GitHub Desktop.
Helper script to find the specified thread id(nid) in a stack dump file
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
#!/bin/sh | |
nid=`python -c "print hex($1)"` | |
grep -i $nid $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment