jconsole [ options ] [ pid | [ host:port ]]
com.sun.management.jmxremote. The Java VM must be running with the same user ID as the user ID running jconsole. See JMX Monitoring and Management for details.
com.sun.management.jmxremote.portwhen the JVM was started. See JMX Monitoring and Management for details.
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.
NOTE: This tool is experimental and may not be available in future versions of the JDK.