?? how_to_run
字號(hào):
< 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.
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -