for a in `clustat -l | grep "^Service Name" | awk '{print $4}' `; do clusvcadm -d $a done ... however, it won't work if you put spaces in your service names ;) -- Lon
clustat -l | sed -n 's/^Service Name.*: //g p' | xargs -n 1 clusvadm -d there you go, should work even with space :) i don't know if the "-n 1" is necessary though. regards, johannes -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster