2022年4月2日
摘要: [telepay@server-224-12 work]$ cat /data/dubbo/sh/process/dataCheck/dataCollectionCheck.sh#!/bin/bashif [ $# -ne 2 ]; thenecho " Usage: $0 [billingcycl 阅读全文
posted @ 2022-04-02 08:59 hello_dg 阅读(64) 评论(0) 推荐(0)
  2022年3月29日
摘要: path=/data/pay/logsfor proc in `ls ${path} | grep -v provider-bank`; do echo " running ${proc} " docker ps | grep ${proc} | grep -v "k8s_POD" |awk '{p 阅读全文
posted @ 2022-03-29 14:10 hello_dg 阅读(28) 评论(0) 推荐(0)
摘要: ansible bss-all -m shell -a "df -h|awk --posix '\$5~/[0789]{1}[0-9]{1}/{print \$0}'" 阅读全文
posted @ 2022-03-29 08:40 hello_dg 阅读(25) 评论(0) 推荐(0)
  2022年3月28日
摘要: ssh -v -p 8341 132.121.xxx.xx 阅读全文
posted @ 2022-03-28 13:10 hello_dg 阅读(8) 评论(0) 推荐(0)
摘要: ansible web -m shell -a 'cat /etc/passwd |grep "keer"' ansible web -m copy -a 'src=~/hello dest=/data/hello' ansible web -m copy -a 'content="I am kee 阅读全文
posted @ 2022-03-28 11:37 hello_dg 阅读(23) 评论(0) 推荐(0)
  2022年3月24日
摘要: if [ $# -ne 2 ]; then echo "input srcPath targetPath" echo "usa $0 /data/ansible/changePD/payCenter/public/ /apps/pay_center/conf/app/public" exitfi i 阅读全文
posted @ 2022-03-24 14:33 hello_dg 阅读(61) 评论(0) 推荐(0)
  2022年3月11日
摘要: getBatidSql="select ts_bat_id from ts_bat where gen_date>='2022-03-01' and gen_date<'2022-04-01' and op_mode='J' and city_id='${city_Id}' and state<>' 阅读全文
posted @ 2022-03-11 16:31 hello_dg 阅读(41) 评论(0) 推荐(0)
摘要: curl -I -m 5 -s -w "%{http_code}\n" -o /dev/null http://132.121.xxx.xx:6601/payCenter/index.jsp返回200表示正常 阅读全文
posted @ 2022-03-11 16:12 hello_dg 阅读(21) 评论(0) 推荐(0)