提交 11d337fd 编写于 作者: G gaborhermann 提交者: Stephan Ewen

[streaming] Added performance test data copying script

上级 e4321954
#!/bin/bash
toDir=$1
if [ -d "${toDir}" ] ; then
for j in {0..2}
do
for i in $(ssh strato@192.168.201.16$j "ls strato-dist/log/counter/");
do scp strato@192.168.201.16$j:strato-dist/log/counter/$i $toDir/counter/$i-0$(expr $j + 1).csv;
done
for i in $(ssh strato@192.168.201.16$j "ls strato-dist/log/timer/");
do scp strato@192.168.201.16$j:strato-dist/log/timer/$i $toDir/timer/$i-0$(expr $j + 1).csv;
done
done
else
echo "USAGE:"
echo "run <directory>"
fi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册