#!/bin/sh
+HOST=mazet@192.168.1.1
+
# ssh-keygen
-# cat ~/.ssh/id_rsa.pub | ssh mazet@192.168.1.1 "cat >> ~/.ssh/authorized_keys"
+# cat ~/.ssh/id_rsa.pub | ssh $HOST "cat >> ~/.ssh/authorized_keys"
+
+date $(ssh $HOST date +%m%d%H%M%Y)
+
for f in cyclictest hackbench '*.exe' '*.sh'; do
-scp mazet@192.168.1.1:benchmarks/$f .
+ scp $HOST:benchmarks/$f .
done
rm load.exe
load=$1
for exe in *.exe; do
test=${exe/.exe/}
+ echo -e "\033[0;1mTest $test\033[0;0m"
./getinfo.sh | tee $test-$load.log
pid=-1
{ ./$exe -d 1 -n 10000 -s -o $test-$load.dat | tee -a $test-$load.log; \