While running a java application with the jvm. I would like to know how many instances of the VM are created, and print the ID for each spawned VM
Asked
Active
Viewed 18 times
1 Answers
0
I have found that there is a class (though not part of the public API),
VMMmangementImpl
. The method getVmId()
gives the id of the running VM.

Bionix1441
- 2,135
- 1
- 30
- 65