JINFO(1)

πŸ“¦ version 23.0.2.0, in opensuse-leap 16.0

πŸ’… JINFO(1) β€” JDK Commands edition πŸ’…

okay so bestie, welcome to jinfo, the lil JDK Commands manual page that’s all about generating Java configuration info for a specified Java process. it’s giving β€œdetective, but make it JVM config” energy ✨

🌸 NAME 🌸

jinfo β€” generate Java configuration information for a specified Java process. periodt. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

⚠️ note note note: this command is experimental and unsupported. no cap, keep that in mind. 😭
jinfo [option] pid
  • option β€” this represents the jinfo command-line options. see Options for the jinfo Command. πŸ‘€
  • 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. πŸ•΅οΈβ€β™€οΈ

πŸ’– DESCRIPTION πŸ’–

The jinfo command prints Java configuration information for a specified Java process. that configuration information includes Java system properties and JVM command-line flags. main character energy, honestly. πŸ’…

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. 😭 also, 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. slay, you get the whole vibe by default. πŸ’…
  • -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.

🌸 okay bye bestie β€” this page is from JDK 23, dated 2024, and it’s literally named JINFO(1). mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from