JConsole : Java Glossary
home J words local find no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
Go to : punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
JConsole
A tool from Sun to let you monitor Java programs while they are running. It will tell information about performance and resource management. It is designed to work remotely attaching to the app via an MBean (Managed Beans) server. There is nothing to download. Everything you need comes bundled in the JDK. You invoke it to monitor a locally-running Java app like this:
rem demonstrate JConsole

rem load the sample progrom to monitor: Java2Demo, enabling monitoring with com.sun.management.jmxremote property
rem The following should be all on one line:
"J:\Program Files\java\jdk1.6.0_06\bin\java.exe" -Dcom.sun.management.jmxremote -jar "J:\Program Files\java\jdk1.6.0_06\demo\jfc\Java2D\Java2Demo.jar"

rem in a separate BAT file do the following so you can have both programs running at once.
rem load JConsole to watch Java2Demo
"J:\Program Files\java\jdk1.6.0_06\bin\jconsole.exe"

If that does not work, add these system properties to the command line as well:
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.port=9999
Pick an unused socket to use for communication.

Learning More


CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.18] Spread the Net
You are visitor number 4,370.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/jgloss/jconsole.html J:\mindprod\jgloss\jconsole.html