摘要: #!/bin/bash path1=/home/htoa/tomcat/webapps/ROOT/htoa/ ip=192.168.30.13 /usr/bin/inotifywait -mrq --timefmt %y/%m'%d %H:/%M' --format '%T %w%f' -emodify,delete,create,attrib $path1 | while read fil... 阅读全文
posted @ 2018-05-23 18:17 wangmo 阅读(428) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh # this script can make certificate of each line in file you point which one! if [ $# -ne 1 ];then echo -e "\033[33m Input your domain's file \033[0m" exit 1 fi for line in `cat $1` d... 阅读全文
posted @ 2018-05-23 18:14 wangmo 阅读(727) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash count=0 run1=`curl -I 192.168.30.12:8000 | grep "200 OK" | wc -l` run2=`curl -I 192.168.30.12:8020 | grep "200 OK" | wc -l` run3=`curl -I 192.168.30.12:8080 | grep "200 OK" | wc -l... 阅读全文
posted @ 2018-05-23 18:01 wangmo 阅读(587) 评论(0) 推荐(0) 编辑