JINFO(1)

πŸ“¦ version 27.0.1.0.3.u1, in arch rolling

JINFO(1) β€” jinfo, your JDK Commands config-info bestie πŸ’…βœ¨

🌸 NAME 🌸

jinfo is the tool that generates Java configuration information for a specified Java process. It’s giving β€œtell me everything about this Java process’s config,” and honestly? Obsessed.

✨ SYNOPSIS ✨

Note: This command is experimental and unsupported.
jinfo [option] pid
  • option β€” this represents the jinfo command-line options. See OPTIONS FOR THE JINFO COMMAND below, bestie.
  • pid β€” the process ID for which the configuration information is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, use either the ps command or, if the JVM processes are not running in a separate docker instance, the jps command. Iykyk.

πŸ¦‹ DESCRIPTION πŸ¦‹

jinfo prints Java configuration information for a specified Java process. The configuration information includes Java system properties and JVM command-line flags. If the specified process is running on a 64-bit JVM, then you might need to specify the -J-d64 option, for example:

jinfo -J-d64 -sysprops pid

This command is unsupported and might not be available in future releases of the JDK. Not me warning you again, but yeah: experimental territory. In Windows Systems where dbgeng.dll is not present, the Debugging Tools for Windows must be installed to have these tools work. The PATH environment variable should contain the location of the jvm.dll that's used by the target process or the location from which the core dump file was produced.

πŸŽ€ OPTIONS FOR THE JINFO COMMAND πŸŽ€

Note: If none of the following options are used, both the command-line flags and the system property name-value pairs are printed. Default behavior ate, tbh.
  • -flag name β€” prints the name and value of the specified command-line flag.
  • -flag [+|-]name β€” enables or disables the specified Boolean command-line flag.
  • -flag name=value β€” sets the specified command-line flag to the specified value.
  • -flags β€” prints command-line flags passed to the JVM.
  • -sysprops β€” prints Java system properties as name-value pairs.
  • -h or -help β€” prints a help message.

πŸ’– That’s the tea from JDK 27.0.1.0.3, dated 2026 β€” JINFO(1) out! 🫢

πŸ“¦ where this page comes from