Skip to content

Instantly share code, notes, and snippets.

@askldjd
Created January 30, 2017 21:52
Show Gist options
  • Save askldjd/f0f06592fb02cf4a2854b25569b89ef0 to your computer and use it in GitHub Desktop.
Save askldjd/f0f06592fb02cf4a2854b25569b89ef0 to your computer and use it in GitHub Desktop.
Dump all threads
#!/bin/bash
for i in {0..64}
do
echo displaying $i thread
rbtrace -p 2475 -e "Thread.list[$i].backtrace.join('\n')"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment