摘要: if [ "$1" = "xx.xx.xx.xx" ]||[ $1 = "node01" ]; then ssh -p2222 root@112.xx.xx.xxx else echo "hello world" #当$1="ip"或$1='node01'时都会执行下面的的命令 阅读全文
posted @ 2017-02-23 23:56 bass 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 找到异常进程的ID 然后kill 掉: 然后再次执行update执作,问题解决!! 阅读全文
posted @ 2017-02-23 10:28 bass 阅读(344) 评论(0) 推荐(0) 编辑