Usage: jmxquery [-url] [-username,u] [-password,p] [-query,q] [-incjvm] [-json] [-help]

options are:

-help, h
	Prints this page
	
-url 
	JMX URL, for example: "service:jmx:rmi:///jndi/rmi://localhost:1616/jmxrmi"
	
-username, u
	jmx username
	
-password, p
	jmx password

-query, q
        List of metrics to fetch in following format: {mBeanName}/{attribute}/{attributeKey};
        For example: "java.lang:type=Memory/HeapMemoryUsage/used"
        {attributeKey} is optional and only used for Composite metric types. 
        Use semi-colon to separate metrics.

-incjvm
        Will add all standard JVM metrics to the -metrics query if used under java.lang domain
        Useful utility function to add JVM metrics quickly and also for testing connections if
        used by itself

-json
        Will output everything in JSON format, otherwise will be human readable text. Useful
        for passing output to scripts.