Java / JMX
Explain JConsole tool in Java.
The JConsole graphical user interface is a monitoring tool that complies to the Java Management Extensions (JMX) specification. JConsole uses the extensive instrumentation of the Java Virtual Machine (Java VM) to provide information about the performance and resource consumption of applications running on the Java platform.
You can use JConsole to monitor both local applications (running on the same system as JConsole), as well as remote applications.
You start JConsole by typing the following command at the command line: jconsole. If you want to monitor a specific application, and you know that application's process ID then for local monitoring use the command: jconsole processID. To start JConsole for remote monitoring, you use the following command syntax: jconsole hostName:portNum.
More Related questions...