Monitoring concurrency applications
When you implement Java applications, you normally use an IDE such as Eclipse or NetBeans to create your projects and write your source code. But the JDK (short for Java Development Kit) includes tools you can use to compile, execute, or generate Javadoc documents. One of those tools is JConsole, which is a graphical tool that shows you information about the applications that are executing in a JVM. You can find it in the bin
directory of your JDK installation (jconsole.exe
).
If you execute it, you will see a window similar to this:
You can monitor processes that are running in your own computer by selecting one of the processes that appear in the Local Process
section, or a remote process introducing its data in the Remote Process
section.
Once you have selected or introduced the data of the process you want to monitor, you click the Connect
button. You may see a window alerting you that you are starting an insecure connection. That window will be similar...