root@cumin1001:~$ ./section.sh s4 | while read db; do echo $db mysql.py -h $db -e "SHOW SLAVE STATUS" | grep 'Exec_Master_Log_Pos:'; done labsdb1011 labsdb1010 labsdb1009 dbstore1004:3314 Exec_Master_Log_Pos: 432521631 db2147 Exec_Master_Log_Pos: 1029834027 db2140 Exec_Master_Log_Pos: 1029834426 db2139:3314 Exec_Master_Log_Pos: 1029834426 db2138:3314 Exec_Master_Log_Pos: 1029834426 db2137:3314 Exec_Master_Log_Pos: 1029834825 db2136 Exec_Master_Log_Pos: 1029834825 db2119 Exec_Master_Log_Pos: 1029834825 db2110 Exec_Master_Log_Pos: 1029835224 db2106 Exec_Master_Log_Pos: 1029835224 db2099:3314 Exec_Master_Log_Pos: 1029835224 db2095:3314 Exec_Master_Log_Pos: 630658406 db2073 Exec_Master_Log_Pos: 1029835623 db1183 db1160 Exec_Master_Log_Pos: 432521631 db1155:3314 Exec_Master_Log_Pos: 682023260 db1150:3314 Exec_Master_Log_Pos: 432522007 db1149 Exec_Master_Log_Pos: 432521631 db1148 Exec_Master_Log_Pos: 432521631 db1147 Exec_Master_Log_Pos: 432521631 db1146:3314 Exec_Master_Log_Pos: 432521631 db1145:3314 Exec_Master_Log_Pos: 432521631 db1144:3314 Exec_Master_Log_Pos: 432521631 db1143 Exec_Master_Log_Pos: 432521631 db1142 Exec_Master_Log_Pos: 432521631 db1141 Exec_Master_Log_Pos: 432521631 db1125 Exec_Master_Log_Pos: 50911672 db1121 Exec_Master_Log_Pos: 432521631 clouddb1021:3314 Exec_Master_Log_Pos: 716382611 clouddb1019:3314 Exec_Master_Log_Pos: 716382611 clouddb1015:3314 Exec_Master_Log_Pos: 716382611 db2090 Exec_Master_Log_Pos: 432521631 db1138 ERROR 2002 (HY000): Can't connect to MySQL server on 'db1138.eqiad.wmnet' (115)