JVisualVM via SSH Proxy

Java’s VisualVM is a handy tool if you want to monitor your JVM’s health. Here’s a nice script to quickly connect to your remote JVM over a SSH tunnel.

First, start your java app on your server with JMX enabled:

Run the following script from your local machine:




Leave a Reply

Your email address will not be published. Required fields are marked *