侯树成, On 12/10/15 1:06 AM, 侯树成 wrote: > You can use the java tool *jps*, this is a command tool. When use like > this : jps -lv , you can get detail infomation of all java > instance.Hope help to you.
Sometimes, jps is less than helpful: $ jps 9458 Bootstrap 9705 Bootstrap 10237 Bootstrap 10710 Bootstrap 19299 Jps I've got 4 JVMs running, plus the jps process itself. If you want to know what's what, run jps with the -v flag: $ jps -v 9458 Bootstrap -Dnop -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xmx64M -Djava.library.path=CATALINA_HOME/lib -Xmx64M -Xms1024M -Xmx1024M -XX:+UseCompressedOops -Djava.endorsed.dirs=CATAILNA_HOME/endorsed -Dcatalina.base=CATALINA_BASE -Dcatalina.home=CATALINA_HOME -Djava.io.tmpdir=CATALINA_BASE/temp This should help you identify your process, just in case you have more than one. On *NIX, you have to run jps as root in order to see processes that don't belong to you. On Windows, you may have to run CMD.EXE as Administrator in order to run jsp to see all the running JVMs. -chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org