pident.sh

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

SH
28
字号
#! /bin/cshrm -f tmp.* flows.* data.*rm -f PIdent/flows* PIdent/tmp* PIdent/dropRate* PIdent/data*set t1=500foreach ftype ( tcp cbr )     echo "Doing ftype $ftype"    foreach p ( 0.01 0.02 0.03 0.04 0.05 )	echo "Doing drop ${p}"	foreach rate ( 0.25 0.50 0.75 1.0 1.25 1.50 1.75 2.00 2.50 3.00 3.50 4.00 ) 	    echo "Doing rate ${rate}"	    ns red-pd.tcl one netTestFRp TestIdent p ${p} gamma ${rate} ftype ${ftype} time ${t1} > tmp.${ftype}-$p-$rate	    mv one.netTestFRp.TestIdent.1.flows flows.${ftype}-${p}-${rate}	end	PIdent/PIdent.pl tmp.${ftype}-$p- > data.${ftype}-${p}    end endmv flows* tmp* data* PIdentcd PIdentgnuplot PIdent.gpgv PIdent_tcp.ps &gv PIdent_cbr.ps &cd ..

⌨️ 快捷键说明

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