Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-25-2011, 08:16 AM
|
#1
|
|
Member
Registered: Feb 2011
Posts: 47
Rep:
|
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?
|
|
|
|
03-26-2011, 04:11 AM
|
#2
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
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?
|
|
|
|
03-26-2011, 04:40 AM
|
#3
|
|
Moderator
Registered: May 2001
Posts: 24,805
|
Quote:
Originally Posted by tootz
does any1 know why?
|
Doesn't it say " Warning: no packets were received, simulation may be too short"? BTW why start another thread on the same topic as you have one going here? In this case keeping things together is more efficient.
Quote:
Originally Posted by corp769
Hmm, where to start.... Can you give us the code to your program?
|
Probably in knudfl's post here: http://www.linuxquestions.org/questi...4/#post4299515 ?
|
|
|
|
03-26-2011, 04:43 AM
|
#4
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
Ahh look at that.... And that's why we always tell these new guys to keep everything in one thread..... Thanks for that man.
|
|
|
|
03-26-2011, 05:46 AM
|
#5
|
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,577
|
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.
|
|
|
1 members found this post helpful.
|
03-27-2011, 10:03 AM
|
#6
|
|
Member
Registered: Feb 2011
Posts: 47
Original Poster
Rep:
|
sorry guys, i know i am a newbie, attached is my tcl, scenerio, trace files.
thanks alot guys.
Last edited by tootz; 03-27-2011 at 10:13 AM.
|
|
|
|
03-27-2011, 12:52 PM
|
#7
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
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.
|
|
|
|
04-02-2011, 08:25 AM
|
#8
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,618
|
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.
..
Last edited by knudfl; 04-02-2011 at 08:55 AM.
|
|
|
1 members found this post helpful.
|
04-08-2011, 09:18 AM
|
#9
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,618
|
Some interesting information here : "instantThroughputStll.awk"
http://www.linuxquestions.org/questi...ations-873644/
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|