You use the
jinfo command to generate Java configuration information for a specified Java process or core file or a remote debug server. This command is experimental and unsupported.
jinfo [option] pid
jinfo command prints Java configuration information for a specified Java process. The configuration information includes Java system properties and Java Virtual Machine (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. In Windows Systems where
dbgeng.dll is not present, Debugging Tools for Windows must be installed to have these tools working. 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 crash dump file was produced.
Options for the jinfo Command
If none of the following options are used, both the command-line flags and the system property name-value pairs are printed.
Prints the name and value of the specified command-line flag.
enables or disables the specified Boolean command-line flag.
Sets the specified command-line flag to the specified value.
Prints command-line flags passed to the JVM.
Prints Java system properties as name-value pairs.
Prints a help message.