jps -m -l -v ps -auxww | grep java 在Unix-like的系统中,比如Solaris和Lunix可以有两种方式取得JVM的进程号 转载于:https://www.cnblogs.com/cando/archive/2011/12/23/2299018.html