JCONSOLE TUTORIAL PDF

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. The screen captures presented in this document were taken from an instance of the interface running on Windows XP. If this directory is in your system path, you can start JConsole by simply typing jconsole in a command shell prompt. Otherwise, you have to type the full path to the executable file. Command Syntax You can use JConsole to monitor both local applications, namely those running on the same system as JConsole, as well as remote applications, namely those running on other systems.

Author:Gorg Arabar
Country:Gambia
Language:English (Spanish)
Genre:Technology
Published (Last):25 September 2006
Pages:169
PDF File Size:5.21 Mb
ePub File Size:1.53 Mb
ISBN:394-3-94883-382-4
Downloads:8757
Price:Free* [*Free Regsitration Required]
Uploader:Faelkis



To expose your application for remote management, you need to start it with the correct properties. This example shows how to expose the Main JMX agent for remote management.

Security consideration: For the sake of simplicity, the authentication and encryption security mechanisms are disabled in this example.

However, you should implement these security mechanisms when implementing remote management in real-world environments. What Next? This example requires version 6 of the Java SE platform. Unzip the bundle of sample classes by using the following command in a terminal window. Main A confirmation that Main is waiting for something to happen is generated. Start JConsole in a different terminal window on a different machine: jconsole The New Connection dialog box is displayed, presenting a list of running JMX agents that you can connect to locally.

Select Remote Process, and type the following in the Remote Process field: hostname In this address, hostname is the name of the remote machine on which the Main application is running and is the number of the port on which the out-of-the-box JMX connector will be connected.

Click Connect. Click the MBeans tab. This panel shows all the MBeans that are currently registered in the remote MBean server. In the left-hand frame, expand the com. You see the example MBean Hello that was created and registered by Main. If you click Hello, you see its associated Attributes and Operations nodes in the MBean tree, even though it is running on a different machine.

IGOR FROLOV DIVERTIMENTO PDF

Using JConsole

.

EA800 ASUS PDF

JConsole Tutorial

.

LAST CALL ALANNAH LYNNE PDF

Exposing a Resource for Remote Management By JConsole

.

Related Articles