| 1 |
#! /bin/csh |
| 2 |
|
| 3 |
rm -f data* flows* |
| 4 |
rm -f pktsVsBytes/flows* pktsVsBytes/tmp* pktsVsBytes/dropRate* pktsVsBytes/data* |
| 5 |
|
| 6 |
set t1=1000 |
| 7 |
foreach try ( 1 ) |
| 8 |
echo "Doing iteration $try" |
| 9 |
foreach flows ( 4 8 12 16 20 ) |
| 10 |
echo "Doing flows ${flows}" |
| 11 |
ns red-pd.tcl one netPktsVsBytes PktsVsBytes flows ${flows} testUnresp 0 verbose -1 time $t1 enable 0 |
| 12 |
mv one.netPktsVsBytes.PktsVsBytes.0.flows flows0-${try}-${flows} |
| 13 |
|
| 14 |
ns red-pd.tcl one netPktsVsBytes PktsVsBytes flows ${flows} testUnresp 0 verbose -1 time $t1 |
| 15 |
mv one.netPktsVsBytes.PktsVsBytes.1.flows flows1-${try}-${flows} |
| 16 |
|
| 17 |
end |
| 18 |
|
| 19 |
pktsVsBytes/pktsVsBytes.pl flows0 $t1 1 0 |
| 20 |
pktsVsBytes/pktsVsBytes.pl flows1 $t1 1 1 |
| 21 |
|
| 22 |
mv flows* data* pktsVsBytes |
| 23 |
cd pktsVsBytes |
| 24 |
gnuplot pktsVsBytes.gp |
| 25 |
gv pktsVsBytes0.ps & |
| 26 |
gv pktsVsBytes1.ps & |
| 27 |
|
| 28 |
cd .. |
| 29 |
|