小编Sur*_*tti的帖子

shell脚本如果在一段时间后没有停止命令停止tomcat服务?

我想编写shell脚本来启动和停止tomcat服务器.为了停止tomcat我使用这个命令"./bin/shudown.sh"或"./bin/catalina.sh stop".这在大多数情况下都不起作用,tomcat仍在运行.所以我想在给出shutdown命令之后杀死tomcat并等待一段时间(比如5分钟).任何人都可以帮我怎么做?

linux bash shell tomcat

0
推荐指数
1
解决办法
3906
查看次数

标签 统计

bash ×1

linux ×1

shell ×1

tomcat ×1