查看 linux tomcat进程 kill tomcat

来源:互联网 发布:抢购软件源代码 编辑:程序博客网 时间:2024/06/05 14:19


cd 到 $TOMCAT_HOME/bin  之后

停止: ./shutdown.sh

开始: ./startup.sh


查看是否已经有tomcat在运行了:
ps -ef | grep tomcat 



可以看到 tomcat 进程号,7369

#如果有,用kill;
kill -9 pid  #pid 为相应的进程号

也就是 kill -9 7369;

完事~

原创粉丝点击