Home » Java » Jps common command finishing

Jps common command finishing

Jps (Java Virtual Machine Process Status Tool JDK) is a display of all current java process PID command, 1.5 provides a simple and practical, very suitable for some simple.

on the platform of linux/unix Java JVM to see the current simple process
1. JPS

lists the PID and Java main class names


2017 Bootstrap
2576 Jps

2. JPS -l

lists the PID and Java main class full name


2017 org.apache.catalina.startup.Bootstrap
2612 sun.tools.jps.Jps

3. JPS -lm

lists the belt, the main class, the full name, and the application parameter


2017 org.apache.catalina.startup.Bootstrap start
2588 sun.tools.jps.Jps -lm

4. JPS -v

lists the PID and JVM arguments,


2017 Bootstrap -Djava.util.logging.config.file=/usr/local/tomcat-web/conf/logging.properties -Djava< span>.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dfile.encoding=UTF-8 -Xms256m -Xmx1024m -XX: PermSize=256m -XX: MaxPermSize=512m -verbose: GC -Xloggc: /usr/local/tomcat-web/lo Gs/gc.log-2014-02-07 -XX: +UseConcMarkSweepGC -XX: +PrintGCDetails -XX: +PrintGCTimeStamps -Xnoclassgc -Djava.endorsed.dirs=/usr/local/tomcat-web/endorsed -Dcatalina.base=/usr/local/tomcat-web -Dcatalina.home=/usr/local/tomcat-web -Djava.io.tmpdir=/usr/local/tomcat-web/t EMP
2624 Jps -Dapplication.home=/usr/lib/jvm/jdk1.6.0_43 -Xms8m

Latest