Dbench: Internet Offline - Rpi 10-100 concurrent

From OnnoWiki
Revision as of 19:45, 11 December 2018 by Onnowpurbo (talk | contribs) (Created page with "==Mount== mkdir -p /mnt/public umount /mnt/public/ mount.cifs //192.168.0.1/public /mnt/public -o username=pi,password=raspberry ==Script== touch hasiltest.txt echo 10...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Mount

mkdir -p /mnt/public
umount /mnt/public/
mount.cifs //192.168.0.1/public /mnt/public -o username=pi,password=raspberry

Script

touch hasiltest.txt
echo 10 > hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 10 >> hasiltest.txt
echo 20 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 20 >> hasiltest.txt
echo 30 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 30 >> hasiltest.txt
echo 40 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 40 >> hasiltest.txt
echo 50 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 50 >> hasiltest.txt
echo 60 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 60 >> hasiltest.txt
echo 70 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 70 >> hasiltest.txt
echo 80 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 80 >> hasiltest.txt
echo 90 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 90 >> hasiltest.txt
echo 100 >> hasiltest.txt
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 100 >> hasiltest.txt



Pranala Menarik