LinuxQuestions.org
Register a domain and help support LQ
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 01-31-2015, 02:29 AM   #1
charuwahi
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Rep: Reputation: Disabled
Help me!!!


Hi,

Whenever I run xgraph command, the output is
[1] 6177
For 2nd instance, the output is
[2] 6179
[1] Segmentation fault (core dumped)
and so on.
The command which I have used is "exec xgraph Throughput &"

If i use command "xgraph Throughput &", I get
Segmentation fault (core dumped)

I am unable to get the graph.
Please help me!!!
 
Old 01-31-2015, 04:04 AM   #2
Mankind75
Member
 
Registered: Apr 2004
Location: Brome, Lower Saxony, Germany
Distribution: Slackware, OpenMandriva
Posts: 80

Rep: Reputation: 18
Hello charuwahi and welcome to the Forum. I just downloaded the .tar.gz package for my Slackware 14.1 and using just "xgraph" tars the programm. I am assuming that "Throughput" is a file you would like to process, is this correct?. In the GUI interface there is also "File - Read new file". Maybe you can try that.
 
Old 02-03-2015, 12:56 AM   #3
charuwahi
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks!!!
Yes "Throughput" is a file which has 2 columns and contains the data like
0 152.4
2 187.6
4 218
6 178.7

What is Slackware? Does Ubuntu support Slackware?
 
Old 02-03-2015, 07:38 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
@charuwahi, the first thing to do is testing your 'xgraph' :

$ cd ns-allinone-2.3x/xgraph-12.*/examples/
... and then test all the examples with your 'xgraph'.
If everything is OK, it's a code issue with your file(s) for Xgraph.

Examples, generating output for Xgraph, xgraph_ns2-files-tcl_11.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
... The basic example is example4.tcl
http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html

About "Segmentation fault" :
Are you sure it's your line with exec xgraph Throughput & ,
that causes "Segmentation fault" ?
Could be your file.tcl ?

Generally about ns2 Segmentation fault, post #2 here ..
http://www.linuxquestions.org/questi...-4175530493/#2

Any questions ? Then please specify your OS :
a) $ uname -m
b) $ cat /etc/issue

P.S. : Slackware is a "Linux OS" (like Ubuntu is), but more reliable.
PPS : ns2 is mostly for a 32bits OS.


-

Last edited by knudfl; 02-03-2015 at 08:22 AM.
 
  


Reply

Tags
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




All times are GMT -5. The time now is 03:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration