Htttest.sh
From Federal Burro of Information
smash apache with ab.
#!/bin/sh # this test the performance of apache alone based on various concurrency levels. #URL="http://66.46.148.83/" COUNT="10000" AB="/usr/local/apache/bin/ab" CONCURS="300" PID=$$ #CONCURS="100 200 300 400 500 600 700 800 900 1000" # sample size N=10 for i in `seq 1 $N` do for CONCUR in $CONCURS do echo Processing run $i CONCUR $CONCUR echo $AB -n $COUNT -c $CONCUR $URL >> data.$i.$CONCUR.$PID $AB -n $COUNT -c $CONCUR $URL > data.$i.$CONCUR.$PID done done