Home >Operation and Maintenance >Linux Operation and Maintenance >How to view tomcat process in linux

How to view tomcat process in linux

藏色散人
藏色散人Original
2020-02-13 10:21:148406browse

How to view tomcat process in linux

How to view the tomcat process in Linux?

View the running Tomcat process

(1)ps aux | grep tomcat
(2)ps -ef | grep tomcat

Recommended: "Linux Tutorial"

Related introduction:

Start and stop Tomcat

First enter the bin directory where tomcat is located cd /home/server/Tomcat/bin (need to enter according to the personal tomcat directory)

Close the tomcat service : ./shutdown.sh or sh shutdown.sh 

Start tomcat:

(1) Give the bin folder executable permissions: chmod -R 777 File directory

(2) Execute ./startup.sh to see the startup method of the startup log or sh startup.sh

(3) Execute ./catalina.sh to see the startup method of the startup log

The above is the detailed content of How to view tomcat process 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