[root@server bin]# ps -ef |grep tomcat root 65722 1 1 02:10 pts/0 00:00:27 /usr/local/java/jdk1.7.0_79/jre/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/apache-tomcat-7.0.81/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/usr/local/tomcat/apache-tomcat-7.0.81/endorsed -classpath /usr/local/tomcat/apache-tomcat-7.0.81/bin/bootstrap.jar:/usr/local/tomcat/apache-tomcat-7.0.81/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat/apache-tomcat-7.0.81 -Dcatalina.home=/usr/local/tomcat/apache-tomcat-7.0.81 -Djava.io.tmpdir=/usr/local/tomcat/apache-tomcat-7.0.81/temp org.apache.catalina.startup.Bootstrap startroot 65882 1 1 02:28 pts/0 00:00:18 /usr/local/java/jdk1.7.0_79/jre/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/apache-tomcat-7.0.81/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/usr/local/tomcat/apache-tomcat-7.0.81/endorsed -classpath /usr/local/tomcat/apache-tomcat-7.0.81/bin/bootstrap.jar:/usr/local/tomcat/apache-tomcat-7.0.81/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat/apache-tomcat-7.0.81 -Dcatalina.home=/usr/local/tomcat/apache-tomcat-7.0.81 -Djava.io.tmpdir=/usr/local/tomcat/apache-tomcat-7.0.81/temp org.apache.catalina.startup.Bootstrap startroot 65971 1 1 02:29 pts/0 00:00:18 /usr/local/java/jdk1.7.0_79/jre/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/apache-tomcat-7.0.81/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/usr/local/tomcat/apache-tomcat-7.0.81/endorsed -classpath /usr/local/tomcat/apache-tomcat-7.0.81/bin/bootstrap.jar:/usr/local/tomcat/apache-tomcat-7.0.81/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat/apache-tomcat-7.0.81 -Dcatalina.home=/usr/local/tomcat/apache-tomcat-7.0.81 -Djava.io.tmpdir=/usr/local/tomcat/apache-tomcat-7.0.81/temp org.apache.catalina.startup.Bootstrap startroot 66320 66074 0 02:51 pts/1 00:00:00 grep --color=auto tomcat[root@server bin]# kill -9 65722[root@server bin]# kill -9 65882[root@server bin]# kill -9 65971[root@server bin]# ps -ef |grep tomcat root 66323 66074 0 02:52 pts/1 00:00:00 grep --color=auto tomcat
ps -ef |grep tomcat kill -9 65722