SmartSolution
SmartSolution

Reputation: 2348

How to know whether my each java programs is running on its own different JVM instance?

I am running many different java programs simultaneously on single System, I need to check whether these programs are running on same or different JVM instance of perticular System ?

All suggestions are appreciated. Thanks.

Upvotes: 0

Views: 543

Answers (2)

darioo
darioo

Reputation: 47193

One JVM = one process. A process that's named either java or javaw.

You can also use visualvm to see all running Java processes.

This tool can be found if you install Java JDK. As Steve B. already mentioned, jps is also included in JDK.

Upvotes: 3

Steve B.
Steve B.

Reputation: 57333

jps will show you the running java processes on your system.

Upvotes: 2

Related Questions