How to get in Java 6+ the list of running JVMs on the localhost and their specs (i.e. Java version, running threads, etc.)?
Does the Java API provide such features?
I don't know about Java 6, but I think you can do by running jconsole from the command line.
Also, if you are on a *nix platform you can issue a command like this this:
ps aux | grep java
Good luck!