f37 -> f39
[infrastructure.git] / scripts / probe-inria-nodes.sh
1 #!/bin/bash
2
3 ssh="ssh -F /dev/null -o StrictHostKeyChecking=no -o ConnectTimeout=3"
4
5 nodes="wlab02 onelab02 onelab09 onelab10 onelab11"
6
7 [[ -n "$@" ]] && nodes="$@"
8
9
10 for node in $nodes; do h=${node}.pl.sophia.inria.fr
11   echo ===================== $node
12   $ssh root@$h cat /etc/fedora-release 2> /dev/null
13   $ssh root@$h vmstat
14   $ssh root@$h vserver-stat 2> /dev/null | wc -l
15 done
16