Linux Commands Examples

A great documentation place for Linux commands


Java Monitoring and Management Console


jconsole [ options ] [ connection ... ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


exec /golf/local/j602/bin/jconsole $1
#exec /golf/local/j701/bin/jconsole $1
#export HOME=/golf/local
#export LD_LIBRARY_PATH=$HOME/j601
#exec $HOME/j601/jconsole $1


The jconsole command launches a graphical console tool that enables you to monitor and manage Java applications and virtual machines on a local or remote machine.

On Windows, jconsole does not associate with a console window. It will, however, display a dialog box with error information if the jconsole command fails for some reason.



Set the update interval to n seconds (default is 4 seconds).


Do not tile windows initially (for two or more connections).

-pluginpath  plugins

Specify a list of directories or JAR files which are searched for JConsole plugins. The plugins path should contain a provider-configuration file named:

containing one line for each plugin specifying the fully qualified class name of the class implementing the class.

Output version information and exit.


Output help message and exit.


Pass <flag> to the Java virtual machine on which jconsole is run.



Options, if used, should follow immediately after the command name.

connection = pid | host:port | jmxUrl

pid    Process ID of a local Java VM. The Java VM must be running with the same user ID as the user ID running jconsole. See JMX Monitoring and Management for details.
:port   Name of the host system on which the Java VM is running and the port number specified by the system property when the Java VM was started. See JMX Monitoring and Management for details.
Address of the JMX agent to be connected to as described in JMXServiceURL.

see also


Using JConsole


Monitoring and Management for Java Platform

How can this site be more helpful to YOU ?

give  feedback