📄 how_to_run
字号:
< Example Topology >TCP Src1 - SS(0) 10Mbps,10ms 3Mbps, 10msTCP Src2 - SS(1) BS(0)---------------W(0)-----------------W(1) TCP - Sink 1~3 DropTail DropTail TCP Src3 - SS(2)---------------------------------------------------------------< How to Run >To run example script, run the following command: % ns 3SS_withoutBG.tcl > outputThis will generate the following files and an xgraph drawing TCP packet sending/receving events: - ex1.tr // Trace files - tcp_cwnd_trace_1.tr - tcp_cwnd_trace_2.tr - tcp_cwnd_trace_3.tr - ITCP1STATUS.dat // TCP statistics files - ITCP2STATUS.dat - ITCP3STATUS.dat - TCP1sent // Temp files to draw xgraph - TCP1ack_rcvd - TCP1dropped - TCPpackets.p0 - output You can see TCP throughput by using gnuplot as follows: % gnuplot throughputplot.inputThen, it will generate the follwing eps file: - throughputTCP1.epsYou can change the files to generate the data or graphs that you want.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -