tcl/ex/red-pd/web/web.sh
raw| 1 | #! /bin/csh |
| 2 | |
| 3 | rm -f web/flows* web/tmp* web/dropRate* web/data* |
| 4 | |
| 5 | set t1=1000 |
| 6 | |
| 7 | ns red-pd.tcl one netWeb Web enable 0 time $t1 > tmp0 |
| 8 | mv one.netWeb.Web.0.flows flows0 |
| 9 | web/web.pl flows0 tmp0 $t1 - |
| 10 | |
| 11 | ns red-pd.tcl one netWeb Web time $t1 > tmp1 |
| 12 | mv one.netWeb.Web.1.flows flows1 |
| 13 | web/web.pl flows1 tmp1 $t1 + |
| 14 | |
| 15 | mv tmp? flows? data* web |
| 16 | cd web |
| 17 | gnuplot web.gp |
| 18 | gv web.ps & |
| 19 | gv webBoxes.ps & |
| 20 | |
| 21 | cd .. |