title: How to find the JMX port in a server?
body: <p>I am sure I can figure it out if I can see the JAVA OPTS parameters. I want to monitor a hornetq server using Jconsole, so I need the port number.</p>
  
  <p>I remember using some command like java grep etc when I connected to it a while back.</p>