pthulasiram / jmxetric

Automatically exported from code.google.com/p/jmxetric
MIT License
0 stars 0 forks source link

How to monitor particular JVM #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I understand that jmxetric will capture the information from JVM. But I does 
not get how will it know about my process running in JVM. I have one java 
process running on my system and when I run the Jmxetric.jar using - 

export config="host=172.16.5.80,port=8649,wireformat31x=true, 
config=etc/jmxetric.xml"

java -Djava.util.logging.config.file=etc/logging.properties 
-javaagent:jmxetric-0.0.4.jar=$config jmxetric.JMXetricAgent 

It gives following exception in output - 
WARNING: Exception when getting my.packag:type=WRITER-POOL ActiveCount.null

Am I doing something wrong. 

Original issue reported on code.google.com by gagan...@gmail.com on 31 Jan 2011 at 6:06

GoogleCodeExporter commented 8 years ago
Hi, the main method on the jmxetric.JMXetricAgent class is just for 
demonstration purposes.  You will need to substitute the main method of your 
application on the command line.

Original comment by jasper...@gmail.com on 31 Jan 2011 at 8:06