當你關tomcat後,
找出tomcat的 process id
以下指令查看process:
ps -ef|grep java
強制關掉 process id
以下指令:
kill -9 (在輸入process id)
進階語法,關tomcat後下以下的指令,
直接查看後關掉的一次指令:
以下指令:
ps -ef | grep "apache-tomcat" | grep -v grep | sed 's/ [ ]*/:/g'|cut -d: -f2| kill -9 `cat`
參考網站
公告版位
- Aug 22 Wed 2012 10:36
[Linux]Linux下關tomcat後process還在,啟tomcat無效的處理方法
close
文章標籤
全站熱搜
留言列表
發表留言