LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-15-2015, 11:19 PM   #1
lilly sofhi
LQ Newbie
 
Registered: Feb 2015
Posts: 7
Blog Entries: 2

Rep: Reputation: Disabled
problem in generating xgraph


hello sir,
please help me in generating xgraph. when i type xgraph I get an error message "Command not found" or "Nothing to plot" though I have installed xgraph.I use NS 2.34.
 
Old 02-15-2015, 11:48 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: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Welcome to LQ.

"Command not found" : Solution → → $ sudo apt-get install xgraph

"Nothing to plot" :
Please read http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html
... about creating output files for Xgraph.

* More about creating files for Xgraph :
. https://groups.google.com/forum/?fro...c/P70vaKH1OeEJ
. https://groups.google.com/forum/?fro...E/5EjPgviqcLUJ


Quote:
when i type xgraph
The command 'xgraph' cannot stand alone.
The Xgraph window will open only with : $ xgraph <plot-file>
Xgraph help : $ xgraph --help

The Xgraph manual http://www.linuxcertif.com/man/1/xgraph/


-

Last edited by knudfl; 02-16-2015 at 12:03 AM.
 
1 members found this post helpful.
Old 02-16-2015, 01:48 AM   #3
lilly sofhi
LQ Newbie
 
Registered: Feb 2015
Posts: 7
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Question help

To generate Xgraph for wireless networks with awk file what are the commands have to include?

Last edited by lilly sofhi; 02-23-2015 at 01:41 AM.
 
Old 02-16-2015, 07:03 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: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← ref. #3.

Follow the links in post #2.

Read everything.
Download xgraph_ns2-files-tcl_11.2014.tar.gz, read the files.tcl .
Files with wireless in the name : wireless3-udp-Aska123.tcl, wireless-udp-1.tcl
There may be more "wireless", you will find out when reading all the files.


-
 
Old 02-17-2015, 04:33 AM   #5
lilly sofhi
LQ Newbie
 
Registered: Feb 2015
Posts: 7
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Unhappy helpp

how to run"make" for installing rtp_gs module
 
Old 02-17-2015, 05:50 AM   #6
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: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← ref. #5.

HOWTO rtp_gs , ns-2.34 :
$ sudo apt-get install g++-4.4

$ tar xvf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34/
$ patch -p0 < rtp_gs__ns234.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ patch -p0 < otcl_ns234_gcc-4.4.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ export CC=gcc-4.4 CXX=g++-4.4 && ./install
$ cd ns-2.34/
$ cp ns ns-rtp.gs
$ sudo cp ns-rtp.gs /usr/local/bin/
The simulation : $ ns-rtp.gs rtp_scenario-1.tcl

-
 
Old 02-17-2015, 10:08 AM   #7
lilly sofhi
LQ Newbie
 
Registered: Feb 2015
Posts: 7
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
i am not able to download the files that u have sent...can u give me another link for that
 
  


Reply

Tags
ns2, rtp_gs, xgraph


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
problem with xgraph while trying to run tcl script manjusha029 Linux - Wireless Networking 1 12-30-2013 10:23 PM
problem with xgraph Makael Linux - Software 9 10-28-2013 08:28 PM
facing problem in xgraph pradip Linux - Networking 1 07-08-2013 03:31 PM
Problem with xgraph on NS-2.34 sanaa Linux - Software 1 02-12-2012 08:35 PM
problem in xgraph-12.1 sukrutha Linux - Newbie 1 10-13-2011 01:19 PM


All times are GMT -5. The time now is 06:31 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