Dbench: Internet Offline - Rpi 10-100 concurrent
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 sleep 15m echo 20 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 20 >> hasiltest.txt sleep 15m echo 30 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 30 >> hasiltest.txt sleep 15m echo 40 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 40 >> hasiltest.txt sleep 15m echo 50 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 50 >> hasiltest.txt sleep 15m echo 60 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 60 >> hasiltest.txt sleep 15m echo 70 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 70 >> hasiltest.txt sleep 15m echo 80 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 80 >> hasiltest.txt sleep 15m echo 90 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 90 >> hasiltest.txt sleep 15m echo 100 >> hasiltest.txt dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 100 >> hasiltest.txt
Melihat hasil
grep Throughput hasiltest.txt