1.问题
tomcat6.0.41自带的./shutdown.sh经常无法停止进程
2.解决方案一:
查找到所有的tomcat进程
$ ps -ef | grep tomcat
然后逐一杀死它们
$ ps -9 pid
3.解决方案二:
前诉方案可能由于经常太多需要逐一杀死,太过繁琐。
$ kill -9 ps -ef|grep tomcat|awk '{print $2}'
3.解决方案三:(未经测试)
$killall -9 tomcat
1.问题
tomcat6.0.41自带的./shutdown.sh经常无法停止进程
2.解决方案一:
查找到所有的tomcat进程
$ ps -ef | grep tomcat
然后逐一杀死它们
$ ps -9 pid
3.解决方案二:
前诉方案可能由于经常太多需要逐一杀死,太过繁琐。
$ kill -9 ps -ef|grep tomcat|awk '{print $2}'
3.解决方案三:(未经测试)
$killall -9 tomcat