Merges George changes
[p2p-testing-infrastructure.git] / ControlScripts / stop_all_clients.sh
1 #!/bin/bash
2
3 machines=( 01 03 04 05 06 07 08 09 10 )
4 ports=( 10122 10222 10322 10422 10522 10622 10722 10822 10922 11022 )
5
6 for machine in ${machines[@]}; do
7         for port in ${ports[@]}; do
8                 ssh -l root "p2p-next-${machine}.grid.pub.ro" -p ${port} "pkill -u p2p; pkill -KILL -u p2p"
9         done
10 done