To linux to see if tomcat is turned off
This article mainly introduces in detail the steps of linux to check whether tomcat has been closed. The sample code in this article is very detailed and has a certain reference value. Interested friends can refer to it.
Check to see if Tomcat closes
Ps-ef | grep java
If the following similar message is displayed, Tomcat has not been turned off
If you want to kill Tomcat directly, you can use the kill command to kill the Tomcat process directly
Kill-9 7010
Then continue to see if Tomcat is closed
Ps-ef | grep java
If the following message appears, Tomcat has been shut down
Root 7010 10 Apr19? 00:30:30 [java]
The above is a brief introduction of the steps for linux to check whether tomcat has been closed. Of course, the differences in the detailed use of the above still need to be understood by everyone. If you want to know more, welcome to follow the industry information channel!