简体   繁体   中英

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.

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.

jps将向您显示系统上正在运行的Java进程。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM