Versione 3 del 2011-01-07 23:14:24

Nascondi questo messaggio
Italiano English
Modifica History Actions

TestDiBanda

Loop Infinito di /dev/zero

http://hackerspace.be/Wbm2009v2/TestInterferenceResults

How To Bandwidth Measurement

Client: cURL

curl http://IP/cgi-bin/download > /dev/null

Client: wget

wget http://ip/cgi-bin/download -O /dev/null

Server

Install mini-httpd and create this script in

/www/cgi-bin/download

script

{{{#!/bin/ash echo -e "Content-type: video/mpeg\r\n\r\n" cat /dev/zero }}} Config snippet

{{{#!/bin/ash mkdir -p /www/cgi-bin touch /www/cgi-bin/download chmod +x /www/cgi-bin/download cat > /www/cgi-bin/download << END_OF_SCRIPT echo -e "Content-type: video/mpeg\r\n\r\n" cat /dev/zero END_OF_SCRIPT }}}