JVM Monitoring tool (jstat, jinfo, jstack)
by rajesh[ Edit ] 2008-04-13 12:44:58
We can monitor JVM using the following tools
We just need to pass lvmid (which can be fetched using jps)
Using jstat we can get details like total size of objects in memory, total classes loaded, garbage collection statistics, etc...
More details...
http://java.sun.com/javase/6/docs/technotes/tools/share/jstat.html
jinfo prints Java configuration information for a given Java process
http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jinfo.html