LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me!!! (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-4175532573/)

charuwahi 01-31-2015 01:29 AM

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!!!

Mankind75 01-31-2015 03:04 AM

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.

charuwahi 02-02-2015 11:56 PM

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?

knudfl 02-03-2015 06:38 AM

@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.


-


All times are GMT -5. The time now is 02:47 PM.