#!/bin/bash
for x in `cat /home/zhanghaodong/ip.txt`
do
#ssh $x "cd /opt/flume/bin ; bash run.sh start agent"
ssh $x ps -ef | grep flume
done
#!/bin/bash
for x in `cat /home/zhanghaodong/ip.txt`
do
#ssh $x "cd /opt/flume/bin ; bash run.sh start agent"
ssh $x ps -ef | grep flume
done
本文标题:启动flume
本文链接:https://www.haomeiwen.com/subject/vpzqqctx.html
网友评论