Wednesday, February 20, 2008

Apache Benchmark example

#!/bin/bash
ab -kc ${1} -t 30 ${2}
k = keep alive
c = concurrent
t = test time duration
${1} = variable set to amount of concurrent users
${2} = variable set to URL, including file name