I am currently doing my project in NS2. i need to analyze my tracefile with xgraph. so i am in need of AWK scripts that are used to generate xgraph(eg:Time vs Throughput). Can any one pls 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!!!
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.
hello sir
plz do tell how to create xgraph in ns2.
im giving following code to execute
exec xgraph -M -bb -geomatery 800*400 test1.tr &
and its not ploting the graph, rather giving some parameters passed to graph as output
What to do if this line appears in the Xgraph
Parameter LabelFont: can't translate `helvetica-10' into a font (defaulting to `fixed )
Hi sir
I try to get a graph by using xgraph at ns2 , i want to show the loss paquet rate in graph .
i use a file awk to get it but when i try to execute "awk -f lpr.awk out.tr " an error message showen " syntax error " .
I want to know how can i get a graph using xgraph and awk code ?
hi guys,
i know what bash scripts are
how to make them
and how to run them...
i have written some basic scripts that
show what users are logged on
how much free disk space there is etc
backup folders with rsync
also made a menu that let me select which host i wanted
to rdp into.
could somebody post here or point to a web site that has good examples of well used bash scripts on a production server...to see what / or try to see what exactly is going on...
would really appreciate any help
Hi all,
How do i make
Code:
[alan@racnode1 scripts]$ echo alan{1..3}
alan1 alan2 alan3
to
Quote:
alan1
alan2
alan3
instead ?
Tried -e + /n to no avail.
Code:
[alan@racnode1 scripts]$ echo alan{1..3}\n
alan1n alan2n alan3n
[alan@racnode1 scripts]$ echo -e alan{1..3}\n
alan1n alan2n alan3n
[alan@racnode1 scripts]$ echo -e "alan{1..3}\n"
alan{1..3}
[alan@racnode1 scripts]$
Thanks.
Regards,
Noob
Hi,
i wana implement the watchdog & pathrater on AODV protocol in MANETS for misbehaving nodes on NS2.35. I wana show its performance analysis via xgraph. I have added a malicious node on AODV protocol after that i couldnt figure out how can i implement watchdog and pathrater and show analysis via xgraph. I have chcked the similar threads here but it was for ns 2.34 but still i tried it and m getting errors. I downloaded the watchdog zip files and followed the instructions of text file of it. One more thing, is it necessary to set all nodes for promiscuous mode??I also need code for that. I put the watchdog-basic.zip folder in AODV folder which was inside of ns-2.35 but what should be the tcl script for watch dog i have aodv tcl file in which malicious node is added too. I am new to ns2 and linux. Please help anyone i urgently need answers.
Hi All,
We have some shell scripts which will send emails about backup, alerts etc using mail command. Example.
Code:
echo "Test Mail" | mail -s "Test" me@mydomain.com
I guess the above command just connect port number 25 of our mail server even if we do not define any port number. Now I would like add smtp port number as 587 in all of the bash scripts. I googled for this but could not get whatever I am expecting. So expecting your kind reply to define smtp port number as 587 in all of the bash scripts.
Thanks in advance.
Does anyone know a way to copy two files to multiple computers? I'm thinking of scp as the flavor of linux we're using does not include rdist.
I've read that scp can't copy multiple files, however maybe some scripting genius has figured out a way. Running two scripts (one for each file), is perfectly ok!
If anyone care to post very clear examples (i'm definitely not a programmer...) of scripts, etc, that would be great.
Thanks in advance to all those who can help!