0

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

Bionix1441
  • 2,135
  • 1
  • 30
  • 65

1 Answers1

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