Open and close Tomcat under Linux to view the Tomcat execution log in real time

Source: Internet
Author: User

??Start:is usually run sh tomcat/bin/startup.sh Stop:typically run the SH tomcat/bin/shutdown.sh script command View:Run the Ps-ef |grep tomcat output such as the following * * * 5144..

。 Wait a minute. Bootstrap start

 indicates that Tomcat has started normally. 5144 is the process number PID = 5144
Kill:kill-9 5144
View the Tomcat execution log in real time------------------------Linux -------------------------

1, first switch to: CD tomcat/logs

2, Tail-f Catalina.out

3. You can view the execution log in real time when you do this

CTRL + C is the exit Tail command.

Open and close Tomcat under Linux to view the Tomcat execution log in real time

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.