Using jconsole with authentication

How to use jconsole with authentication.

After configuring JMX authentication, using jconsole requires a username and password to complete the remote connection to the cluster. Use an appropriate username/password combination.

Procedure

Start jconsole using a pre-configured JMX username and password for <username> and <password>:
jconsole