摘要:
概述: 守护进程是用来守护某个程序的进程,一旦程序宕机,会自动拉起 例子:监控一个hello.jar vim monitor.sh #!/bin/bash while truedo num=`ps -ef|grep hello|grep -v grep|wc -l` if [ $num -lt 1 阅读全文
posted @ 2022-07-22 16:48
opscool
阅读(763)
评论(0)
推荐(0)
摘要:
解决方法: 修改Mysql Workbench连接数据库的超时时间,默认是30,可适当调大 Edit->Preferences->SQL Editor 阅读全文
posted @ 2022-07-22 11:09
opscool
阅读(535)
评论(0)
推荐(0)
摘要:
基本的启动 nohup java -jar helloworld.jar & 或 nohup java -jar helloworld.jar >/dev/null 2>&1 & 带参数的启动 nohup java 参数 参数 参数 -jar helloworld.jar >/dev/null 2> 阅读全文
posted @ 2022-07-22 10:59
opscool
阅读(2197)
评论(0)
推荐(0)