ps -ef | grep tomcat-web [Query tomact process]
kill -9 pid [End tomcat process]
/opt/tomcat-web/bin/startup.sh [Start tomcat]
tail -800f /opt/tomcat-web/logs/catalina.out [Track startup log tail command]
curl "http://localhost:8071/lend/loanindex" [Test Tomcat interface response]
grep ' StartAndFailLoanJob task start' ../logs/catalina.out|tail -1 [Find the most recent occurrence of the string in the file]
The above is the detailed content of [Tomcat] Deploy tomcat online. Common commands. For more information, please follow other related articles on the PHP Chinese website!