From 7a85f3cf4916f41165f0a290ce9fd608dda9194c Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Fri, 4 May 2012 15:51:04 -0400 Subject: [PATCH] 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 --- root_image/debugspace/www/cgi-bin/netperf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 root_image/debugspace/www/cgi-bin/netperf 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 + -- 2.39.5