flume系列之:批量并行启动、停止、重启flume agent组

Flume系列之:批量并行启动、停止、重启flume agent组

  • 批量启动flume agent组

批量启动flume agent组

import subprocess
import threading

def run_command(command):
    process = subprocess.Popen(command, shell=True)
    process

你可能感兴趣的:(flume,flume系列,批量并行,启动,停止,重启,flume,agent组)