I'm using an awk file in order to read the traces but I'm getting an error like "FATALivide by zero attempted"
I typed it in as "awk -f delay.awk simple.tr" ( I dunno if tht is right)
delay.awk
----------
Again I'm not sure if this is the right file to use, as it was mailed to me saying that I use this for delay. Should I make changes here ?? Should I use some other awk file ??? Should I make any other changes ??? Any help would be most welcome. Thank you so much for your time and help !!
Last edited by jim mcnamara; 11-03-2008 at 02:13 PM..
Reason: add code tags
In just trying to edit code tags, you seem to have several syntax errors. But the code is very hard to read. So who knows....
If you carefully describe what you are trying to do, then one of us can probably write simpler code that is readable to get you going. As it is I can't spend the time "decoding" your code.
Thank you so much for the reply Jim. I'm just trying to obtain the delay and overhead for the trace file here. Unfortunately I have no knowledge of how to work with awk, and how to parse the lines in the trace file. I used this awk file, as someone suggested it to me but its not of much help currently. If there's anything that can work better that would be fantastic. Once again, thank you so much for your time and help.
hi
i am student doing project in ns2.34.
i hav to add field in route cache and packet of DSR routing protocol.
which files hv to be changed...pl help me (1 Reply)
Hello,
I am a beginner in Ns2 .
I'am trying to run the example attached bu I have this errors :
Simulation is running ... please wait ...
can't read "Node_(7)": no such element in array
while executing
"return $Node_($id)"
(procedure "_o3" line 3)
(Simulator get-node-by-id... (0 Replies)
Hello,
First time poster here hoping to get some help with ns2.
I've recently started using ns2(first time user) but I'm having difficulty getting the results I'm after.
I am trying to set up a network with wireless nodes(5-15 nodes) and then use xgraph to display a timing diagram,... (0 Replies)
# Create the simulator object that we need in order to run NS
set ns
# Set the parameters that we will use for wireless communications
set val(chan) Channel/WirelessChannel ;# channel type
set val(prop) Propagation/TwoRayGround ;# radio-propagation model
set... (0 Replies)
When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme "
Some one help me out... (3 Replies)
When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme "
Some one help me out... (1 Reply)
Hi all,
I wrote a TCL script in NS2 which involves running multiple Voice and video sessions. Am not able to troubleshoot one error at all. Can anyone please help me please. I am ready to send the documents if possible. please please help me guys !! I am trying to solve the problem since... (0 Replies)
I have to work with NS2 (Network Simulator)and i have to install it beforeusing it on Manets Simulations.
Can some one Help me on this topic?
Thank's (1 Reply)