LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2013, 04:45 AM   #1
lavendar89
LQ Newbie
 
Registered: Sep 2013
Posts: 9

Rep: Reputation: Disabled
the throughput graph cannot be plot in CRCN gui


i am using the CRCN gui in ns2.31 for my project..but my throughput graph cannot be display as picture that i'm attach..anyone know how to solve this problem?
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Throughput.png
Views:	23
Size:	21.8 KB
ID:	13657   Click image for larger version

Name:	throughput.png
Views:	24
Size:	83.1 KB
ID:	13658  
 
Old 10-08-2013, 06:13 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
"throughput.pl" is a very old file. May not work.

May be replace with an awk file that works ?
→ awk_scripts-09.2013.tar.bz2 ( 17 kB )
https://docs.google.com/file/d/0B7S2...it?usp=sharing
 
Old 10-20-2013, 03:30 AM   #3
lavendar89
LQ Newbie
 
Registered: Sep 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
thanks in advance knudfl..
can you guide me where to put all that awk file?is it in ns-2.31 folder?
 
Old 10-20-2013, 03:42 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 3 .
Quote:
where to put all that awk file ?
The location of the folder 'awk_scripts/' : Your choice.

Then you can copy a file.tr into the folder, and run :
$ awk -f Throughput2007.awk file.tr

Please try out all the <thr> files: Some work, some doesn't:

avg_throughput.awk
avg_throughput(zigbee).awk
flow-thr.awk
genthroughput.awk
instantThroughput.awk
instantThroughputStll.awk
Throughput2007.awk
throughput_newtrace.awk
thruput.awk
wireless-thr.awk

-

Last edited by knudfl; 10-20-2013 at 03:43 AM.
 
Old 10-20-2013, 05:40 AM   #5
lavendar89
LQ Newbie
 
Registered: Sep 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
thanks a lot for your guide..but i'm still cannot see average output based on picture i attached.i have try all file but still average throughput=0.00
Attached Thumbnails
Click image for larger version

Name:	throughput1.png
Views:	22
Size:	71.9 KB
ID:	13768   Click image for larger version

Name:	throughput2.png
Views:	20
Size:	66.3 KB
ID:	13769  
 
  


Reply

Tags
awk-ns2, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to display throughput in CRCN GUI humairaafzal73 Linux - Software 33 11-21-2015 06:10 AM
CRCN ns2 add channel GUI nam throughput problem Khaled ELmishad Linux - Software 37 12-05-2013 03:23 AM
crcn ns2 add channel GUI nam throughput problem Khaled ELmishad Programming 1 05-12-2012 09:37 AM
plot trace file into a graph tootz Linux - Software 14 04-26-2012 04:07 AM
problem in displaying throughput in crcn patch in ns2 humairaafzal73 Linux - Software 0 02-07-2012 05:37 AM


All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration