1JCONSOLE(1) JDK Commands JCONSOLE(1)
2
3
4
6 jconsole - start a graphical console to monitor and manage Java appli‐
7 cations
8
10 jconsole [-interval=n] [-notile] [-plugin path] [-version] [connection
11 ... ] [-Jinput_arguments]
12
13 jconsole -help
14
16 -interval
17 Sets the update interval to n seconds (default is 4 seconds).
18
19 -notile
20 Doesn't tile the windows for two or more connections.
21
22 -pluginpath path
23 Specifies the path that jconsole uses to look up plug-ins. The
24 plug-in path should contain a provider-configuration file named
25 META-INF/services/com.sun.tools.jconsole.JConsolePlugin that
26 contains one line for each plug-in. The line specifies the ful‐
27 ly qualified class name of the class implementing the
28 com.sun.tools.jconsole.JConsolePlugin class.
29
30 -version
31 Prints the program version.
32
33 connection = pid | host:port | jmxURL
34 A connection is described by either pid, host:port or jmxURL.
35
36 • The pid value is the process ID of a target process. The JVM
37 must be running with the same user ID as the user ID running
38 the jconsole command.
39
40 • The host:port values are the name of the host system on which
41 the JVM is running, and the port number specified by the sys‐
42 tem property com.sun.management.jmxremote.port when the JVM
43 was started.
44
45 • The jmxUrl value is the address of the JMX agent to be con‐
46 nected to as described in JMXServiceURL.
47
48 -Jinput_arguments
49 Passes input_arguments to the JVM on which the jconsole command
50 is run.
51
52 -help or --help
53 Displays the help message for the command.
54
56 The jconsole command starts a graphical console tool that lets you mon‐
57 itor and manage Java applications and virtual machines on a local or
58 remote machine.
59
60 On Windows, the jconsole command doesn't associate with a console win‐
61 dow. It does, however, display a dialog box with error information
62 when the jconsole command fails.
63
64
65
66JDK 17 2021 JCONSOLE(1)