Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 only, as published by the Free Software Foundation. This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE...
NAMEjinfo - Generates configuration information. This command is experimental and unsupported.
jinfo [ option ] pid
jinfo [ option ] executable core
jinfo [ option ] [ servier-id ] remote-hostname-or-IP
- The command-line options. See Options.
- 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 the jps(1) command.
- The Java executable from which the core dump was produced.
- The core file for which the configuration information is to be printed.
- The remote debug server hostname or IP address. See jsadebugd(1).
- An optional unique ID to use when multiple debug servers are running on the same remote host.
DESCRIPTIONThe jinfo command prints Java configuration information for a specified Java process or core file or a remote debug server. 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 utility 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 is used by the target process or the location from which the crash dump file was produced. For example, set PATH=%JDK_HOME%\jre\bin\client;%PATH% .
- Prints both command-line flags and system property name-value pairs.
- -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.
Prints command-line flags passed to the JVM.
Prints Java system properties as name-value pairs.
Prints a help message.
Prints a help message.