add simple stresstest for MSC
This commit is contained in:
parent
de2e722661
commit
ff7042e4ba
|
@ -0,0 +1,17 @@
|
|||
dir=$1
|
||||
if [ -z "$dir" ] ; then
|
||||
echo Missing argument
|
||||
exit 1
|
||||
fi
|
||||
cd $1
|
||||
|
||||
while : ; do
|
||||
dd if=/dev/urandom count=130 of=random.file
|
||||
sync
|
||||
sleep 1
|
||||
rm random.file
|
||||
sync
|
||||
sleep 1
|
||||
echo "Done once."
|
||||
|
||||
done
|
Loading…
Reference in New Issue