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

王林
Release: 2020-03-12 15:48:42
Original
3987 people have browsed it

How to check whether tomcat is closed in linux

Check whether Tomcat has been shut down

ps -ef|grep java
Copy after login

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
Copy after login

and then continue to check whether Tomcat is closed.

ps -ef|grep java
Copy after login

If the following information appears, it means that Tomcat has been shut down

root 7010 1 0 Apr19 ? 00:30:30 [java]
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template