Does any one know if there is a command line option to do a Terracotta cluster thread dump? We are experiencing some strange Tomcat failures. We want to be able to do a cluster thread dump when Tomcat fails again. Having to do this in the developer console is just not good enough.
I could be wrong, but think the poster might have been asking how to trigger a cluster wide thread dump from the command line (ie. enact the same thing that the dev console can do but from the command line).
Our dev-console just makes JMX calls to the terracotta server so in theory this possible. I don't know that there is a script that already does it.
If you poke around with jconsole (part of the JDK) against a Terracotta server running in 1.6 JDK you should be able to find the bean and the operation without too much trouble. Then you need to find a program that can make remote jmx calls on the command line or whip one up.