Home  >  Article  >  Java  >  [Tomcat] Deploy tomcat online. Common commands

[Tomcat] Deploy tomcat online. Common commands

PHP中文网
PHP中文网Original
2017-06-19 10:29:551917browse

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!

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