Linux下杀死Tomcat死掉的进程
1.输入命令ps-ef|grepjava,查看tomcat进程ID
2.输入命令sudo-uusernamekill-9pid,其中userName指用户名
例如:
ps-ef|grepTomcat-6.0输出如下Tomcat-6.0为Tomcat目录名
sun51441010:21pts/100:00:06/java/jdk/bin/java-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager-Djava.endorsed.dirs=/java/tomcat/common/endorsed-classpath:/java/tomcat/bin/bootstrap.jar:/java/tomcat/bin/commons-logging-api.jar-Dcatalina.base=/java/tomcat-Dcatalina.home=/java/tomcat-Djava.io.tmpdir=/java/tomcat/temporg.apache.catalina.startup.Bootstrapstart
则5144就为进程号pid=5144
kill-95144就可以彻底杀死tomcat
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20