docs: public static JMXConnector connect(final String hostportOrPid, final String login, final String password)
  			throws IOException {
  		// ./vjmxcli.sh - 127.0.0.1:8060 gcutil
  		if (hostportOrPid.contains(":")) {
  			JMXServiceURL rmiurl = new JMXServiceURL(
  					"service:jmx:rmi://" + hostportOrPid + "/jndi/rmi://" + hostportOrPid + "/jmxrmi");
  			return JMXConnectorFactory.connect(rmiurl, formatCredentials(login, password));
  		} else {
  			// ./vjmxcli.sh - 112222 gcutil
  			String localAddress = getLocalConnectorAddress(hostportOrPid);
  			JMXServiceURL localRmiurl = new JMXServiceURL(localAddress);
  			return JMXConnectorFactory.connect(localRmiurl);
  		}
  	}