Daily Archives: December 5, 2009

Using sun.jvmstat.monitor to see active Java processes

Monitor’ing Java processes can be achieved using the jvmstat monitor classes provided in the JVM. The documentation is a bit sketchy but with a little experimenting it can be done. Below is a little example that shows you how to … Continue reading

Posted in Java, JVM | Tagged , , | Comments Off on Using sun.jvmstat.monitor to see active Java processes

Java process id via java.lang.management

While working on a project recently I need to find out the current process of the active running Java process (for tracing/auditing), however I never found a 100% perfect solution but did come across an acceptable solution to use the … Continue reading

Posted in Java, JVM, Tips | Tagged , , | Comments Off on Java process id via java.lang.management