view test.sh @ 6:593786973c04

Maked distributed directory
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sat, 11 Jan 2014 03:13:11 +0900
parents f049a3340d2c
children
line wrap: on
line source

#!/bin/sh
#
#PBS -q tqueue
#PBS -N test
#PBS -l walltime=00:05:00

script=/home/mass/share/student/k118585/stress_read_cassandra.rb

function run() {
 while read serv
 do
  ssh $serv -o "StrictHostKeyChecking no" "hostname" &
 done   
 wait
}

uniq $PBS_NODEFILE /tmp/nodes
run < /tmp/nodes