Home >Operation and Maintenance >Linux Operation and Maintenance >How to check whether tomcat is closed in linux

How to check whether tomcat is closed in linux

王林
王林Original
2020-03-12 15:48:423986browse

How to check whether tomcat is closed in linux

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

How to check whether tomcat is closed in linux

(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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn