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!