jconsole
Starts a graphical console that lets you monitor and manage Java applications.
Synopsis
jconsole [ options ] [ connection ... ]
options-
The command-line options. See Options.
- connection = pid | host:port | jmxURL
-
The
pidvalue is the process ID of a local Java Virtual Machine (JVM). The JVM must be running with the same user ID as the user ID running thejconsolecommand.Thehost:portvalues are the name of the host system on which the JVM is running, and the port number specified by the system propertycom.sun.management.jmxremote.portwhen the JVM was started.ThejmxUrlvalue is the address of the JMX agent to be connected to as described in JMXServiceURL.For more information about the
connectionparameter, see Monitoring and Management Using JMX Technology athttp://docs.oracle.com/javase/8/docs/technotes/guides/management/agent.htmlSee also the
JMXServiceURLclass description athttp://docs.oracle.com/javase/8/docs/api/javax/management/remote/JMXServiceURL.html
Description
The jconsole command starts a graphical console tool that lets you monitor and manage Java applications and virtual machines on a local or remote machine.
On Windows, the jconsole command does not associate with a console window. It does, however, display a dialog box with error information when the jconsole command fails.
Options
- -interval=n
-
Sets the update interval to n seconds (default is 4 seconds).
- -notile
-
Does not tile windows initially (for two or more connections).
- -pluginpath plugins
-
Specifies a list of directories or JAR files to be searched for
JConsoleplug-ins. The plugins path should contain a provider-configuration file namedMETA-INF/services/com.sun.tools.jconsole.JConsolePluginthat contains one line for each plug-in. The line specifies the fully qualified class name of the class implementing thecom.sun.tools.jconsole.JConsolePluginclass. - -version
-
Displays release information and exits.
- -help
-
Displays a help message.
- -Jflag
-
Passes
flagto the JVM on which thejconsolecommand is run.
See Also
-
Using JConsole at
http://docs.oracle.com/javase/8/docs/technotes/guides/management/jconsole.html -
Monitoring and Management Using JMX Technology at
http://docs.oracle.com/javase/8/docs/technotes/guides/management/agent.html -
The
JMXServiceURLclass description athttp://docs.oracle.com/javase/8/docs/api/javax/management/remote/JMXServiceURL.html