jps & ps

jps -m -l -v

ps -auxww | grep java

在Unix-like的系统中,比如Solaris和Lunix可以有两种方式取得JVM的进程号

原文地址:https://www.cnblogs.com/cando/p/2299018.html