Hi Daniel,
you can use any MBean as far as you know its name which has a format
like
domain:key=value,key=value,....
This is standard MBean naming. Each MBean can carry attributes and operations to execute.
For example:
jmx4perl http://agenurl/... read java.lang:type=Memory HeapMemoryUsage
You can get a list of all MBeans registered with
jmx4perl http://.... list
and even the value of all attributes can be directly fetched
jmx4perl http://.... attributes
(warning, this is *a lot* of date (more than 200MB for Glassfish))
To make life easiert for some common MBeans/attribute pairs, jmx4perl
provides some aliases. You get a list of all aliases with
jmx4perl aliases
E.g. to get the amount of used heap memory use
jmx4perl http://... read MEMORY_HEAP_USED
Finally, there is a man page, too (surprise, surprise) which explain all
of the above in some length.