09 2020 档案
摘要:单节点的任务: #!/bin/bash # 指定目录con_home=/app/confluent-6.0.0 #命令提示usage="Usage: 0 (start|stop|status|restart)" if [ # -lt 1 ]; then echo $usage exit 1fi
阅读全文
摘要:对于shell的命令实时更新 import subprocess cmd = "你的shell命令" res = subprocess.Popen(shell, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) for lin
阅读全文