From: Konrad Rzeszutek Wilk Date: Fri, 4 May 2012 19:51:04 +0000 (-0400) Subject: debugspace: Make http://10.0.0.1/cgi-bin/netperf?H=10.0.0.2\;L=60 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7a85f3cf4916f41165f0a290ce9fd608dda9194c;p=xentesttools%2Fbootstrap.git debugspace: Make http://10.0.0.1/cgi-bin/netperf?H=10.0.0.2\;L=60 work and run netperf against 10.0.0.2 --- diff --git a/root_image/debugspace/www/cgi-bin/netperf b/root_image/debugspace/www/cgi-bin/netperf new file mode 100755 index 0000000..aaab158 --- /dev/null +++ b/root_image/debugspace/www/cgi-bin/netperf @@ -0,0 +1,10 @@ +#!/bin/sh + +echo Content-type: text/html +echo "" +X=$(date "+%s") +eval $QUERY_STRING +/netperf -H $H -l $L +Y=$(date "+%s") +echo $X $Y +