jconsole
You use the jconsole command to start a graphical console to monitor and manage Java applications.
Synopsis
jconsole [-interval=n] [-notile] [-plugin path] [-version] [connection ... ] [-Jinput_arguments]jconsole -helpOptions
-
-interval -
Sets the update interval to
nseconds (default is 4 seconds). -
-notile -
Doesn’t tile the windows for two or more connections.
-
-pluginpath path -
Specifies the path that
jconsoleuses to look up plug-ins. The plug-inpathshould 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 -
Prints the program version.
-
connection = pid | host:port | jmxURL -
A connection is described by either
pid,host:portorjmxURL.-
The
pidvalue is the process ID of a target process. The JVM must be running with the same user ID as the user ID running thejconsolecommand. -
The
host: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. -
The
jmxUrlvalue is the address of the JMX agent to be connected to as described in JMXServiceURL.
-
-
-Jinput_arguments -
Passes
input_argumentsto the JVM on which thejconsolecommand is run. -
-helpor--help -
Displays the help message for the command.
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 doesn’t associate with a console window. It does, however, display a dialog box with error information when the jconsole command fails.