]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
debugspace: Make http://10.0.0.1/cgi-bin/netperf?H=10.0.0.2\;L=60
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 4 May 2012 19:51:04 +0000 (15:51 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 15 Jun 2012 20:20:53 +0000 (16:20 -0400)
work and run netperf against 10.0.0.2

root_image/debugspace/www/cgi-bin/netperf [new file with mode: 0755]

diff --git a/root_image/debugspace/www/cgi-bin/netperf b/root_image/debugspace/www/cgi-bin/netperf
new file mode 100755 (executable)
index 0000000..aaab158
--- /dev/null
@@ -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
+