script for getting tomcat thread dump

script for getting tomcat thread dump