JSTACK(1)

πŸ“¦
version 27.0.0.0.35 Β· 35 versions
, in epel 10, epel 9

πŸ’… JSTACK(1) β€” the JDK Commands era

okay bestie, listen up, this one's a whole thing β€” it's jstack, and it lives in the JDK Commands corner of the manual. no cap, she's iconic but also a little experimental, so buckle up πŸŽ€


✨ NAME ✨

jstack β€” print Java stack traces of Java threads for a specified Java process 🫢

✨ SYNOPSIS ✨

ngl, read this first: this command is experimental and unsupported. πŸ’€
jstack [options] pid
  • options β€” this represents the jstack command-line options. see Options for the jstack Command below, bestie πŸ‘‡
  • pid β€” the process ID for which the stack trace is printed. the process must be a Java process, no exceptions. to get a list of Java processes running on a machine, use either the ps command or, if the JVM processes aren't running in a separate docker instance, the jps command. literally that's the whole vibe check πŸ¦‹

✨ DESCRIPTION ✨

so what does jstack actually do? she prints Java stack traces of Java threads for a specified Java process β€” main character energy fr fr πŸ‘‘

for each Java frame, the full class name, method name, byte code index (BCI), and line number, when available, are printed. all of it, laid out for you ✨

here's the tea on C++ names though: C++ mangled names aren't demangled. 😭 to demangle C++ names, the output of this command can be piped to c++filt. and when the specified process is running on a 64-bit JVM, you might need to specify the -J-d64 option, for example:

jstack -J-d64 pid
⚠️ note, and this one's important: this command is unsupported and might not be available in future releases of the JDK. 😬 in Windows Systems where the dbgeng.dll file isn't present, the Debugging Tools for Windows must be installed so that these tools work. the PATH environment variable needs to contain the location of the jvm.dll that is used by the target process, or the location from which the core dump file was produced. like, it needs to. no shortcuts πŸ™ˆ

🌸 OPTIONS FOR THE JSTACK COMMAND 🌸

okay so there's literally only two of these and they both slay in their own way πŸ’…

  • -l β€” the long listing option prints additional information about locks πŸ”₯ lowkey the useful one tbh
  • -h or -help β€” prints a help message. classic, reliable, never misses 🫢

and that's the whole page, bestie β€” you ate that πŸ’–

JDK 27-ea, dated 2026, signing off β€” this has been your friendly neighborhood manual page, stay slay, stay jstack-ing βœ¨πŸ‘‘

πŸ“¦ where this page comes from
  • epel 10: java-latest-openjdk-devel 1:27.0.0.0.35-0.0.1.0.ea.el10_3 Β· Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising AND GPL-1.0-or-later AND GPL-2.0-only AND LicenseRef-Callaway-GPLv2-with-exceptions AND IJG AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT AND MPL-2.0 AND LicenseRef-Callaway-Public-Domain AND W3C AND Zlib AND ISC AND FTL AND LicenseRef-RSA
  • epel 10: java-latest-openjdk-devel-fastdebug 1:27.0.0.0.35-0.0.1.0.ea.el10_3 Β· Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising AND GPL-1.0-or-later AND GPL-2.0-only AND LicenseRef-Callaway-GPLv2-with-exceptions AND IJG AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT AND MPL-2.0 AND LicenseRef-Callaway-Public-Domain AND W3C AND Zlib AND ISC AND FTL AND LicenseRef-RSA
  • epel 10: java-latest-openjdk-devel-slowdebug 1:27.0.0.0.35-0.0.1.0.ea.el10_3 Β· Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising AND GPL-1.0-or-later AND GPL-2.0-only AND LicenseRef-Callaway-GPLv2-with-exceptions AND IJG AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT AND MPL-2.0 AND LicenseRef-Callaway-Public-Domain AND W3C AND Zlib AND ISC AND FTL AND LicenseRef-RSA
  • epel 9: java-latest-openjdk-devel 1:27.0.0.0.35-0.0.1.0.ea.el9 Β· Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising AND GPL-1.0-or-later AND GPL-2.0-only AND LicenseRef-Callaway-GPLv2-with-exceptions AND IJG AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT AND MPL-2.0 AND LicenseRef-Callaway-Public-Domain AND W3C AND Zlib AND ISC AND FTL AND LicenseRef-RSA
  • epel 9: java-latest-openjdk-devel-fastdebug 1:27.0.0.0.35-0.0.1.0.ea.el9 Β· Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising AND GPL-1.0-or-later AND GPL-2.0-only AND LicenseRef-Callaway-GPLv2-with-exceptions AND IJG AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT AND MPL-2.0 AND LicenseRef-Callaway-Public-Domain AND W3C AND Zlib AND ISC AND FTL AND LicenseRef-RSA
  • epel 9: java-latest-openjdk-devel-slowdebug 1:27.0.0.0.35-0.0.1.0.ea.el9 Β· Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising AND GPL-1.0-or-later AND GPL-2.0-only AND LicenseRef-Callaway-GPLv2-with-exceptions AND IJG AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT AND MPL-2.0 AND LicenseRef-Callaway-Public-Domain AND W3C AND Zlib AND ISC AND FTL AND LicenseRef-RSA
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms