Viewing the memory used using JRMC for JRockit
JRockit Mission Control (JRMC) is a visualization and management tool for the JRockit JVM. This recipe will show how to connect to local and remote JRockit JVMs to view this information.
Getting ready
For this recipe, you will need to have the JRockit JVM installed on a local machine. We'll use the JRMC application bundled with the JRockit release.
We'll attach JRockit to the WebLogic administration server to visualize its memory usage at runtime. To do this, you can use the recipe in the previous chapter to change the start-up script to use JRockit.
We will extend the recipe by connecting to a remote JRockit VM to show the steps required to view remote JVM data.
How to do it…
Perform the following steps to use JRockit to monitor your JVM memory:
Navigate to the domain's home directory:
%MIDDLEWARE_HOME%/user_projects/domains/soa_domain/
Replace
soa_domain
with the relevant domain, as required.Start the administration server by running the
startWeblogic...