multi.sh

来自「R. Lo Cigno, P. Larcheri 802.11e closed」· Shell 代码 · 共 27 行

SH
27
字号
#! /bin/cshrm -f data* flows*rm -f multi/flows* multi/tmp* multi/dropRate* multi/data*set t1=500foreach ftype ( cbr tcp ) 	echo "Doing flow type $ftype"	foreach links ( 1 2 3 4 5 )		echo "Doing links ${links}"		ns red-pd.tcl multi netMulti Multi enable 0 links $links ftype $ftype time $t1 		mv multi.netMulti.Multi.0.flows flows0.${ftype}-${links}		ns red-pd.tcl multi netMulti Multi links $links ftype $ftype time $t1 		mv multi.netMulti.Multi.1.flows flows1.${ftype}-${links}	end	multi/multi.pl flows0.${ftype}- $t1 0.${ftype}	multi/multi.pl flows1.${ftype}- $t1 1.${ftype}endmv flows* data* multicd multignuplot multi.gpgv multi.ps &cd ..

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?