LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-06-2014, 04:16 AM   #1
roop kor
LQ Newbie
 
Registered: Sep 2014
Location: India
Posts: 17

Rep: Reputation: Disabled
How do i run Xgraph in ns2


hello all..
i have ns-2.33 and i am running ZRP
whenever i run my tcl script i do get nam output.
how can i run xgraph for that script ??
 
Old 11-06-2014, 04:26 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Well, you can have a look at simulation scripts
that are including the creation of files for xgraph :

"xgraph_ns2-files-tcl_10.2014.tar.gz"
https://drive.google.com/file/d/0B7S...ew?usp=sharing
 
Old 11-06-2014, 08:02 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ref. #2 .

Four of the examples can easily be edited to do {ZRP + xgraph plot} :
zrp_xgraph-examples.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

.. I don't know if they show any "Real world ZRP",
.. that's for you to try out.

-
 
Old 11-09-2014, 05:56 AM   #4
roop kor
LQ Newbie
 
Registered: Sep 2014
Location: India
Posts: 17

Original Poster
Rep: Reputation: Disabled
i tried using xgraph patches from internet...
but now i am getting this error
make[1]: *** [install-binPROGRAMS] Error 1
make[1]: Leaving directory `/home/mann/ns/ns-allinone-2.33/xgraph-12.1'
make: *** [install-am] Error 2
 
Old 11-09-2014, 08:05 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #4 .

Little chance that you can build Xgraph in ns-allinone-2.33,
when the OS is Fedora 20.

32bits (i686) package : xgraph-12.1-7pclos2011.i586.rpm
https://drive.google.com/file/d/0B7S...ew?usp=sharing

64bits package : xgraph-12.1-1.pclos2013.x86_64.rpm
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Installing : $ cd Downloads/
# yum localinstall --nogpgcheck xgraph-12.1*

-
 
  


Reply

Tags
ns2, xgraph, xgraph-bin, zrp



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
code for trace file that used to generate xgraph in NS2 surya.prakash Programming 17 09-07-2015 01:06 AM
in NS2 DOS and DDoS Simulation +Comparison and Analysis of Xgraph hinatariq Linux - General 31 09-07-2015 12:10 AM
problem with xgraph while trying to run tcl script manjusha029 Linux - Wireless Networking 1 12-30-2013 09:23 PM
How to save a xgraph file in ns2.34 for later printout !! Shruti Linux - Newbie 6 07-11-2011 10:39 AM
how to use "xgraph" in the scripts shells with ns2.33 in fc9 messy2010 Fedora 1 01-21-2009 03:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:56 PM.

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
Open Source Consulting | Domain Registration