System Grab Bag

View all TLDR pages from common (or from all pages)

jstack

Java stack trace tool. More information: https://manned.org/jstack.
  • Print Java stack traces for all threads in a Java process:
    jstack {{java_pid}}
  • Print mixed mode (Java/C++) stack traces for all threads in a Java process:
    jstack -m {{java_pid}}
  • Print stack traces from Java core dump:
    jstack {{/usr/bin/java}} {{file.core}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.