A thread dump is
a log containing information about currently running threads and processes.
It can be useful during troubleshooting when trying to identify exactly
when an issue occurs.
To collect a thread dump from Tomcat on UNIX
Either:
Run Tomcat in the foreground. At the command prompt, type $TOMCAT_HOME/bin/catalina.sh.
Dump the threads to stdout with Ctrl-\.
or:
Run Tomcat in the background.
Type kill -s SIGQUIT
<process id> and press Enter.