avgstats.awk
hi, any1 have simple program which run avgstats.awk succuessfully? coz i cannot obtain any result when i run avgstats.awk. it shows
#################################################################### # Warning: no packets were received, simulation may be too short # #################################################################### flowID: 0 flowType: srcNode1: 0 srcNode2: 0 destNode: 0 startTime: 1000000 stopTime: 0 receivedPkts: 0 avgTput[kbps]: -0 avgDelay[ms]: 0 avgJitter1[ms]: 0 avgJitter2[ms]: 0 avgJitter3[ms]: 0 avgJitter4[ms]: 0 does any1 know why? |
Hmm, where to start.... Can you give us the code to your program? By just posting output and no other information about what you are trying to exactly accomplish, we can not help you. And what is this avgstats.awk file you are talking about?
|
Quote:
Quote:
|
Ahh look at that.... And that's why we always tell these new guys to keep everything in one thread..... Thanks for that man.
|
And please use [code][/code] tags around your code, to preserve formatting and to improve readability. In this case it would keep those overly-long hash lines from forcing the page to side-scroll my browser window.
|
3 Attachment(s)
sorry guys, i know i am a newbie, attached is my tcl, scenerio, trace files.
thanks alot guys. |
Looks like you are running NS. You need to specify these kind of things in your post when describing your problem. I will wait for knudfl to look at this thread, he is the master with NS.
|
First : Edit post # 1 to use code tags !
Write [/code] at code end, and [code] at code start. And do not write long words like : ########################### It spoils the formatting : 1) Difficult to read on small monitors. 2) Difficult for all us, who don't use the smallest types in the browser. 'avgstats.awk' is not supposed to do anything with your file.tr . Read #10 http://www.linuxquestions.org/questi...aph-869865/#10 Besides that, your code works perfect : 'ns trace.tcl' will create : 694demo.nam 694demo.tr The program is probably too complex to use a single plot : Probably to be sequenced into "many" plots like the thirteen files <file>.eps in ns-allinone-2.34/ns-2.34/tcl/ex/wireless-scripts/ : runall.cmd. .. |
Some interesting information here : "instantThroughputStll.awk"
http://www.linuxquestions.org/questi...ations-873644/ |
More files / hints, "awk scripts" :
1) http://mohit.ueuo.com/AWK_Scripts.html > droppackets.awk totalpacketssent.awk totalpacketsreceived.awk p-d-f.awk instantJitter.awkcwnd.awk http://mohittahiliani.blogspot.com/2...n-ns-2_06.html 2) http://www.linuxquestions.org/questi....php?p=4334166 |
All times are GMT -5. The time now is 03:15 AM. |