tail -f /var/log/escenic/engine1-catalina.out > /tmp/threaddumps.log & for i in $(seq 1 10); do kill -QUIT `cat /var/run/escenic/engine1.pid`; sleep 1; done fg Starts logging Tomcat output to /tmp/threaddumps.log. Triggers 10 JVM thread dumps, spaced 1 second apart. Brings the logging process back to the foreground so you can…