udp - Awk file shows an error -


i run simulation udp connection , cbr application in ns2. run awk file show results. have 10 nodes , 2 of them (n0 , n10) send packets each other. problem run these 2 codes result both nodes first 1 runs smoothly (n0 => n10):

1)gawk -f stats.awk src=0 dst=10 flow=0 pkt=512 file.tr

2) gawk -f stats .awk src=10 dst=0 flow=0 pkt=512 file.tr

the second code gives "division 0 attempted" error" don't include stats.awk file here because works in first example guess problem else? eg flow in second line 0? tried other numbers nothing happened. in advance.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -