摘要:
#!/bin/bash file1=`du -sm /var/www/vhosts/|awk '{print $1}'` ps=`ps -C rsync --no-header|wc -l` if [ "$file" = "11517" ];then echo "files downloaded!" 阅读全文
摘要:
#!/usr/bin/python #coding = utf-8 import os files = os.listdir('/opt') for file in files: print file 阅读全文
摘要:
#!/usr/bin/expect spawn /usr/bin/ssh root@192.168.43.43 -p 22 expect "password:" send "tigergao\r" expect efo interact 阅读全文
摘要:
#!/bin/bash #@es_check #@date 2019/11/26 #@auth tigergao status=`curl -s GET "http://172.16.71.100:10290/_cat/health?" | awk '{print $4}'` if [ $statu 阅读全文
摘要:
阅读全文