#! /bin/sh # # Check chip status on all dcs boards (chambers) in SM # By C.Lippmann # . _setup.sh echo -n "Reading states of all MCMs in SM " for P in $POS_LIST ; do echo -n "." ./rstate_auto.pl $P > temp_rstate_auto_$P 2>&1 & done echo "" wait for P in $POS_LIST ; do cat temp_rstate_auto_$P | grep $P cat temp_rstate_auto_$P | grep dcs rm -f temp_rstate_auto_$P done echo "Finished." #EOF