Helps analyzing a thread dump quickly
- listing thread ids
- unique thread states
- threads matching a state
- thread matching id
- threads having large stack trace
- threads having same stack trace
- framework to support additional versions/formats of thread dump
- support for custom annotators to provide information on the thread dump
- supports thread dumps compatible with only Oracle java 1.7_21 for the moment
- Ruby, gem, bundle, rake, minispec
- Clone the git repo locally
- bundle install
- Build the gem, 'gem build jta.gemspec'
- Install the built gem, 'gem install jtda-.gem'
- Run the program, 'jtda.rb --help'
- help
$ jta.rb --help
- list unique states
$ jta.rb -f /tmp/thread.dump -u
- list threads by id
$ jta.rb -f /tmp/thread.dump -t 100,200
- groups thread by unique thread stack
$ jta.rb -f /tmp/thread.dump -a
- run application locally (not from the gem)
$ ruby -Ilib bin/jta.rb -f /tmp/thread.dump -l
- rake test
MIT