jpsall

!/bin/bash

for i in hadoop101 hadoop102 hadoop103
do
echo --------------------- $i -------------------------------
ssh $i "source /etc/profile && jps | grep -v Jps "
done

posted @ 2020-02-25 19:27  雷神约  阅读(412)  评论(0编辑  收藏  举报