Home >Operation and Maintenance >Linux Operation and Maintenance >How to check whether tomcat starts successfully in linux
3 methods: 1. Execute "top", if the output service information contains java, the startup is successful; 2. Execute "ps -ef|grep tomcat", if the output process information contains tomcat , the startup is successful; 3. Use wget tomcat address, if the download data can appear, the startup is successful.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How to check whether tomcat starts successfully in linux
1. Use the top command
command Enter the "top" command in the line to check whether there is a java service. If there is a java service, it means tomcat is started.
2. Use the ps -ef|grep tomcat command
Use "ps -ef|grep tomcat" to view the process Whether there is a tomcat process started? Sometimes, although there is a tomcat process in the process, the system page is still inaccessible, and you need to check further.
3. Use wget tomcat access address
Use wget tomcat address. If download data can appear on the page, tomcat can work normally. access.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of How to check whether tomcat starts successfully in linux. For more information, please follow other related articles on the PHP Chinese website!