Skip to content
/ JVVM Public

Use JVisual VM to connect to a remote host running your application to monitor memory usage

Notifications You must be signed in to change notification settings

rcmohan12/JVVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

JVVM

Use Visual VM to connect to and monitior the memory usage of an application deployed on a remote host

Download Links

Environment details

  • Windows 10 PC running the JVisualVM client
  • RHEL host where the application is hosted on Glassfish5 app server

Steps

  1. Launch JVisual VM from your Windows machine. If there are any existing Java processes running on your system then, JVVM will display all of them under 'Local'.

alt text

  1. To connect to a remote host, right click on 'Remote' --> Add Remote Host. Enter the host name and submit.
  2. To check if JVVM is able to connect to the host correctly, right click on the name and view its Properties. If you are able to view the DNS & IP of the host it indicates a successful connection.
  3. In order to monitor Glassfish process on the remote host (where the application is deployed) , the JMX connection has to be enabled. To do this, right click on the remote host configured in step 2 and select 'Add JMX Connection'. Here, enter the JMX port configured for the remote host. In this pre configured Glassfish server, the port number was taken from the domain.xml file.
  4. Once the JMX port is configured, connect to the remote host. If there is no firewall blocking the connection then, the Glassfish process with its associated PID will be displayed.
  5. If there is firewall blocking the connection, then the process will not show up (yet to figure out how to work around the firewall)

About

Use JVisual VM to connect to a remote host running your application to monitor memory usage

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published