Monitoring remote system using Jconsole

二次信任 提交于 2020-01-06 03:42:07

问题


I am connecting to remote Unix system using putty and .ppk key file. Now i want to monitor this remote unix system using Jconsole. On remote system jmx port is enabled on 8080. I have its ip address ,jmx port ,username and .ppk file.How could i connect or remotely monitor using Jconsole? through putty i am connected to remote system using tunneling .


回答1:


I assume the remote port 8080 cannot directly be connected to or you question would be mood, so:

Having a "regular" terminal connection won't help you connect any networked application -- you want to set up a SSH tunnel to forward the remote host's port 8080 to your local host's port :8080 (or any other available port), see http://oldsite.precedence.co.uk/nc/putty.html (espcially Figure 3)



来源:https://stackoverflow.com/questions/7350598/monitoring-remote-system-using-jconsole

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!