📄 multi.sh
字号:
#! /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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -