User:Elukey/Ops/Jconsole
Appearance
Remote connection to Prod
Scenario: you want to check JMX MBeans available or generic JVM data in Production from your laptop:
ssh -ND 8088 $some_hostname$ jconsole -J-DsocksProxyHost=localhost -J-DsocksProxyPort=8088
Then Jconsole will be opened and you'll need to select Remote Process, adding the following: $hostname$:port (don't use localhost, it will not work!)