testfrp_tcp.sh

来自「跑leach需要的」· Shell 代码 · 共 23 行

SH
23
字号
#! /bin/cshrm -f testFRp_tcp/flows* testFRp_tcp/tmp* testFRp_tcp/dropRate* testFRp_tcp/data*set t1=1000foreach p ( 0.01 0.02 0.03 0.04 0.05)	echo "Doing drop rate ${p}"	foreach rate (0.25 0.5 0.75 1.0 1.25 1.5 1.75 2.0 3.0 4.0 5.0 )		echo "Doing gamma ${rate}"		ns red-pd.tcl one netTestFRp TestFRp p ${p} gamma ${rate} ftype tcp testUnresp 0 verbose -1 time $t1		mv one.netTestFRp.TestFRp.1.flows flows-${p}-${rate}	end	testFRp_tcp/testFRp_tcp.pl flows-${p} ${p} $t1 > data-${p}endmv flows-* data-* testFRp_tcpcd testFRp_tcpgnuplot testFRp_tcp.gpgv testFRp_tcp.ps &cd ..

⌨️ 快捷键说明

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