Merges George changes
[p2p-testing-infrastructure.git] / Utils / cssh_cluster.sh
1 #!/bin/bash
2 #
3 # Copyright: George Milescu 2010 - george.milescu@gmail.com
4 #
5 # Bash script used to connect to the sistems in the NCIT cluster
6 # The script
7 #  * starts a cssh session
8 #  * sets the size of the windows to 78x19
9 #
10 # Script arguments:
11 #  * remote user
12
13 if [ ! $# -eq 1 ]; then
14         echo "usage: $0 user"
15         exit 1
16 fi
17
18 REMOTE_USER=$1
19
20 cssh --term-args "-geometry 78x19" $REMOTE_USER@p2p-next-01.grid.pub.ro $REMOTE_USER@p2p-next-02.grid.pub.ro $REMOTE_USER@p2p-next-03.grid.pub.ro $REMOTE_USER@p2p-next-04.grid.pub.ro $REMOTE_USER@p2p-next-05.grid.pub.ro $REMOTE_USER@p2p-next-06.grid.pub.ro $REMOTE_USER@p2p-next-07.grid.pub.ro $REMOTE_USER@p2p-next-08.grid.pub.ro $REMOTE_USER@p2p-next-09.grid.pub.ro $REMOTE_USER@p2p-next-10.grid.pub.ro