jstack

Java stack trace tool. More information: https://manned.org/jstack.

jstack java_pid

jstack -m java_pid

jstack /usr/bin/java file.core