Node=`clush -g myvms hostname | awk -F ":" '{print $1}'`
root@myvm1:/home/spasham2
for i in Node
do
clush -g myvms systemctl status sshd.service | grep running
done;
myremotevm1: Active: active (running) since Tue 2019-05-07 06:54:58 UTC; 1 months 25 days ago
myremotevm2: Active: active (running) since Tue 2019-05-07 06:54:58 UTC; 1 months 25 days ago
myremotevm3: Active: active (running) since Tue 2019-05-07 06:54:58 UTC; 1 months 25 days ago