Check whether Tomcat has been shut down
ps -ef|grep java
If the following similar information is displayed, it means that Tomcat has not been shut down
(Recommended tutorial: linux tutorial)
If you want to kill Tomcat directly, you can use the kill command to directly kill the Tomcat process
kill -9 7010
and then continue to check whether Tomcat is closed.
ps -ef|grep java
If the following information appears, it means that Tomcat has been shut down
root 7010 1 0 Apr19 ? 00:30:30 [java]
Recommended related video tutorials: linux video tutorial
The above is the detailed content of How to check whether tomcat is closed in linux. For more information, please follow other related articles on the PHP Chinese website!