Skip to content
Snippets Groups Projects
Commit d10c9477 authored by Henning Fehrmann's avatar Henning Fehrmann Committed by Henning Fehrmann
Browse files

merge

parent 93e8b676
Branches
No related tags found
No related merge requests found
......@@ -10,7 +10,15 @@ function run {
[ -d $dir ] && rm -rf $dir
mkdir -p $dir
sed "s#^directory.*#directory=$dir#g" $tfile > $tfile.run
fio --minimal $tfile.run #--output /tmp/fio.log
fio --minimal $tfile.run --output /tmp/fio.log
}
function getresults {
HOST=$( hostname -s )
logdir=$1/fio/$HOST
[ -d $logdir ] && rm -rf $logdir
mkdir -p $logdir
cp /tmp/fio.log $logdir/.
}
......@@ -22,6 +30,9 @@ case "$1" in
stop|kill)
pkill iozone
;;
getresults)
getresults $2
;;
*)
echo "Usage: $0 {start|run|stop|kill)"
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment