tomcat 意外終止

在用xshell 時 重啓tomcat 後 不ctrl + c ,直接點擊右上角‘X’ , 這是tomcat 會 退出進程。 java restart_tomcat.sh 腳本:shell ps -ef|grep '^.*java.*'"apache-tomcat-$1"'.*$'|grep -v grep|awk '{print $2}'|xargs kill -9 /opt/apache-to
相關文章
相關標籤/搜索