Copyright (c) 1994, 2019, 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. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).

You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

Automatically generated by Pandoc 2.3.1

"JCONSOLE" "1" "2020" "JDK 14" "JDK Commands"
NAME

jconsole - start a graphical console to monitor and manage Java applications

SYNOPSIS

\f[CB]jconsole\f[R] [\f[CB]-interval=\f[R]\f[I]n\f[R]] [\f[CB]-notile\f[R]] [\f[CB]-plugin\f[R] \f[I]path\f[R]] [\f[CB]-version\f[R]] [\f[I]connection\f[R] ... ] [\f[CB]-J\f[R]\f[I]input_arguments\f[R]]

\f[CB]jconsole\f[R] \f[CB]-help\f[R]

OPTIONS

\f[CB]-interval\f[R] Sets the update interval to \f[CB]n\f[R] seconds (default is 4 seconds).

\f[CB]-notile\f[R] Doesn\[aq]t tile the windows for two or more connections.

\f[CB]-pluginpath\f[R] \f[I]path\f[R] Specifies the path that \f[CB]jconsole\f[R] uses to look up plug-ins. The plug-in \f[I]path\f[R] should contain a provider-configuration file named \f[CB]META-INF/services/com.sun.tools.jconsole.JConsolePlugin\f[R] that contains one line for each plug-in. The line specifies the fully qualified class name of the class implementing the \f[CB]com.sun.tools.jconsole.JConsolePlugin\f[R] class.

\f[CB]-version\f[R] Prints the program version.

\f[I]connection\f[R] = \f[I]pid\f[R] | \f[I]host\f[R]\f[CB]:\f[R]\f[I]port\f[R] | \f[I]jmxURL\f[R] A connection is described by either \f[I]pid\f[R], \f[I]host\f[R]\f[CB]:\f[R]\f[I]port\f[R] or \f[I]jmxURL\f[R].

\[bu] 2
The \f[I]pid\f[R] value is the process ID of a target process. The JVM must be running with the same user ID as the user ID running the \f[CB]jconsole\f[R] command.
\[bu] 2
The \f[I]host\f[R]\f[CB]:\f[R]\f[I]port\f[R] values are the name of the host system on which the JVM is running, and the port number specified by the system property \f[CB]com.sun.management.jmxremote.port\f[R] when the JVM was started.
\[bu] 2
The \f[I]jmxUrl\f[R] value is the address of the JMX agent to be connected to as described in JMXServiceURL.

\f[CB]-J\f[R]\f[I]input_arguments\f[R] Passes \f[I]input_arguments\f[R] to the JVM on which the \f[CB]jconsole\f[R] command is run.

\f[CB]-help\f[R] or \f[CB]--help\f[R] Displays the help message for the command.

DESCRIPTION

The \f[CB]jconsole\f[R] 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 \f[CB]jconsole\f[R] command doesn\[aq]t associate with a console window. It does, however, display a dialog box with error information when the \f[CB]jconsole\f[R] command fails.