1JINFO(1)                         JDK Commands                         JINFO(1)
2
3
4

NAME

6       jinfo  -  generate  Java configuration information for a specified Java
7       process
8

SYNOPSIS

10       Note: This command is experimental and unsupported.
11
12       jinfo [option] pid
13
14       option This represents the jinfo command-line options.  See Options for
15              the jinfo Command.
16
17       pid    The  process ID for which the configuration information is to be
18              printed.  The process must be a Java process.  To get a list  of
19              Java  processes  running on a machine, use either the ps command
20              or, if the JVM processes are not running in  a  separate  docker
21              instance, the jps command.
22

DESCRIPTION

24       The jinfo command prints Java configuration information for a specified
25       Java process.  The configuration information includes Java system prop‐
26       erties and JVM command-line flags.  If the specified process is running
27       on a 64-bit JVM, then you might need to specify the -J-d64 option,  for
28       example:
29
30              jinfo -J-d64 -sysprops pid
31
32       This  command  is  unsupported and might not be available in future re‐
33       leases of the JDK.  In Windows Systems where dbgeng.dll is not present,
34       the  Debugging  Tools for Windows must be installed to have these tools
35       work.  The PATH environment variable should contain the location of the
36       jvm.dll  that's  used  by the target process or the location from which
37       the core dump file was produced.
38

OPTIONS FOR THE JINFO COMMAND

40       Note:
41
42       If none of the following options are used, both the command-line  flags
43       and the system property name-value pairs are printed.
44
45       -flag name
46              Prints the name and value of the specified command-line flag.
47
48       -flag [+|-]name
49              Enables or disables the specified Boolean command-line flag.
50
51       -flag name=value
52              Sets the specified command-line flag to the specified value.
53
54       -flags Prints command-line flags passed to the JVM.
55
56       -sysprops
57              Prints Java system properties as name-value pairs.
58
59       -h or -help
60              Prints a help message.
61
62
63
64JDK 19                               2022                             JINFO(1)
Impressum