www.LinuxHowtos.org





JCONSOLE

Section: JDK Commands (1)
Updated: 2023
Index Return to Main Contents
 

NAME

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

SYNOPSIS

V]jconsoleR] [V-interval=R]I]nR]] [V-notileR]] [V-pluginR] I]pathR]] [V-versionR]] [I]connectionR] ... ] [V-JR]I]input_argumentsR]]

V]jconsoleR] V-helpR]  

OPTIONS

V-intervalR]
Sets the update interval to V]nR] seconds (default is 4 seconds).
V-notileR]
Doesn[aq]t tile the windows for two or more connections.
V-pluginpathR] I]pathR]
Specifies the path that V]jconsoleR] uses to look up plu-ins. The plu-in I]pathR] should contain a provide-configuration file named V]MET-INF/services/com.sun.tools.jconsole.JConsolePluginR] that contains one line for each plu-in. The line specifies the fully qualified class name of the class implementing the V]com.sun.tools.jconsole.JConsolePluginR] class.
V-versionR]
Prints the program version.
I]connectionR] = I]pidR] | I]hostR]V]:R]I]portR] | I]jmxURLR]
A connection is described by either I]pidR], I]hostR]V]:R]I]portR] or I]jmxURLR].
[bu]
The I]pidR] 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 V]jconsoleR] command.
[bu]
The I]hostR]V]:R]I]portR] values are the name of the host system on which the JVM is running, and the port number specified by the system property V]com.sun.management.jmxremote.portR] when the JVM was started.
[bu]
The I]jmxUrlR] value is the address of the JMX agent to be connected to as described in JMXServiceURL.
V-JR]I]input_argumentsR]
Passes I]input_argumentsR] to the JVM on which the V]jconsoleR] command is run.
V-helpR] or V-helpR]
Displays the help message for the command.
 

DESCRIPTION

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


 

Index

NAME
SYNOPSIS
OPTIONS
DESCRIPTION