随笔分类 - 脚本
摘要:#!/bin/bash start=6800000 j=19 for ((i=1;i<=j;i++)) do end=expr $start + 1400000 if (( $end > 32862620 )) then end=32862620 fi sql="delete from mmstst
阅读全文
摘要:登录交换机使用 switchshow 查看不同端口的port 类型 操作步骤: 1. 将fc_discovery.py脚本放在监控服务器的externalscript目录,并执行以下命令,增加脚本可执行权限:chmod 755 fc_discovery.py 2. 将fc_reflect_depen
阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:[sdata base] name=Base baseurl=http://xx.xx.xx.xx:4507/repo/$releasever/$basearch/base enabled=1 gpgcheck=0 [sdata] name=SDATA baseurl=http://xx.xx.xx
阅读全文
摘要:``` ! /bin/bash ntp_num=$[ 1] if [ $ntp_num == 1 ];then echo 0 else echo $ntp_num fi ```
阅读全文