Hi all,I am new user and executed one example for two wireless nodes, which is 
given in ns2-tutorial.  Can someone send me some tutorial or explanation about 
tracefiles. I read some material in ns-manual and understood many things but 
it's not enough. If someone has detail explanation about trace files, please 
send it me. I will be thankful to you.thanks a lotNasir Ali > From: [EMAIL 
PROTECTED]> Subject: Ns-users Digest, Vol 44, Issue 2> To: ns-users@ISI.EDU> 
Date: Wed, 1 Aug 2007 17:00:10 -0700> > Send Ns-users mailing list submissions 
to>      ns-users@isi.edu> > To subscribe or unsubscribe via the World Wide 
Web, visit>  http://mailman.isi.edu/mailman/listinfo/ns-users> or, via email, 
send a message with subject or body 'help' to>         [EMAIL PROTECTED]> > You 
can reach the person managing the list at>     [EMAIL PROTECTED]> > When 
replying, please edit your Subject line so it is more specific> than "Re: 
Contents of Ns-users digest..."> > > Today's Topics:> >    1!
 . Re: help !! " nam: couldn't connect to display:0.0 " (Raphael)>    2. Re: 
Error when using nsmiracle (Federico Maguolo)>    3. Re: rtproto Manual 
(Alexandre Malh?o)>    4. Re: ns-2 installation fails on x86_64 platform>       
([EMAIL PROTECTED])>    5. Re: Require Awk script for Old Trace Format File>    
   (mikel larra?aga negro)>    6. Re: nam problem (JEHD MAHDI)>    7. Error 
whit ns (oscar andres)> > > 
----------------------------------------------------------------------> > 
Message: 1> Date: Wed, 01 Aug 2007 19:20:52 +0200> From: Raphael <[EMAIL 
PROTECTED]>> Subject: Re: [ns] help !! " nam: couldn't connect to display:0.0 
"> To: "mohur !!" <[EMAIL PROTECTED]>> Cc: ns-users@ISI.EDU> Message-ID: 
<[EMAIL PROTECTED]>> Content-Type: text/plain; charset=ISO-8859-1> > -----BEGIN 
PGP SIGNED MESSAGE-----> Hash: SHA1> > mohur !! wrote:> > hi,> > please help. 
I'm new to  ns-2.> > I use cygwin and ns-2.29.> > I had my display set using 
the shell command export DISPLA!
 Y=:0.0> > and when I run my ns script file, its gives the following me
ssage.> > " nam: couldn't connect to display:0.0 "> > why> > is this 
happenning? Can somebdy please help me fix this issue? I tried> > to check what 
my display was set to previously using the shell command> > echo $DISPLAY, and 
its was set to nothing, what should i do? anybody?> > thankyou lots,> > Mohur 
Babu> > > > > > > >        > > 
____________________________________________________________________________________>
 > Need a vacation? Get great deals> > to amazing places on Yahoo! Travel.> > 
http://travel.yahoo.com/> Hi Mohur,> > I never used Cygwin befor but I guess it 
is a X configuration problem.> Check what xhost says, and try some other 
programs like xload.> If you are running X and the applications with different 
users you must> allow incoming conncetions from localhost (eg "xhost + 
localhost") or> configure X such that other users may use your desktop.> > I 
think this is not a NAM problem.> > Greets> > Raphael> -----BEGIN PGP 
SIGNATURE-----> Version: GnuPG v1.4.6 (!
 GNU/Linux)> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org> > 
iD8DBQFGsMD0kuU3NI79Py4RAk70AKC4HoAjqvz39lHtkQ0ob6zQnr3UNQCdHVUm> 
/YLfaVspWr0Czx0mQ/dktzE=> =g8nd> -----END PGP SIGNATURE-----> > > > 
------------------------------> > Message: 2> Date: Wed, 1 Aug 2007 19:29:51 
+0200> From: Federico Maguolo <[EMAIL PROTECTED]>> Subject: Re: [ns] Error when 
using nsmiracle> To: ns-users@ISI.EDU> Message-ID: <[EMAIL PROTECTED]>> 
Content-Type: text/plain;  charset="iso-8859-1"> > HI Balkrishna,> > the 
problem is that the version of the dynamic library patch which is > currently 
published on our website does not work on CYGWIN. > > We have already succeeded 
in making dynamic libraries work on CYGWIN, however > we currently do not have 
an official patch for it. The problem is that on > windows plugins are not 
easily built due to the limitations imposed by the > dll format (see 
http://edll.sourceforge.net/). Consequently the modifications > ma!
 de to ns all-in-one are quite complicated. If you want to try them out
 have > a look to this file:> > 
http://www.dei.unipd.it/~maguolof/doc-ns-dynlib/windoz-dl.txt> > Here you will 
find a diff between the original ns all-in-one distribution > files and the 
ones which we have modified to support dynamic libraries on > CYGWIN (the last 
row of the file is the command run in order to build the > dei80211mr library). 
However, if you do not feel very confident with building > dynamic libraries I 
think it is probably easier to install linux and run ns > from there.> > 
Regards > > Federico Maguolo> > > Alle 04:12, marted? 31 luglio 2007, 
Balkrishna Gukhool ha scritto:> > Hi all,> >> > I have tried installing the 
nsmiracle patch for ns-2.31. I have the> > followed the instructions on the 
"mini howto" web page. I have been able to> > successfully patch and test the 
dynamic libraries patch. However, even> > though I have all the correct results 
on installing dei80211mr, when I try> > running the adhoc_tcp.tcl script, I get 
an error message telling me tha!
 t> > the libdei80211mr.so file is missing. I have double-checked the> > 
instructions, and re-run the setup several times, but still the problem> > 
persists.> >> > I am using Cygwin on a Windows XP Pro Sp2 PC, and 
ns-allinone-2.31.> >> > Could anyone help on this? It is much appreciated.> >> 
> Thanks.> >> > Balkrishna.> > > > ------------------------------> > Message: 
3> Date: Wed, 01 Aug 2007 18:51:08 +0100> From: Alexandre Malh?o <[EMAIL 
PROTECTED]>> Subject: Re: [ns] rtproto Manual> To: Alexandre Malh?o <[EMAIL 
PROTECTED]>> Cc: ns-users@ISI.EDU> Message-ID: <[EMAIL PROTECTED]>> 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed> > I got the 
solution for those who are interested.> > Instead of using :> > $n1 
add-route-to-adj-node -default $n2> > you should use:> > [$n1 get-module 
"Manual"] add-route-to-adj-node -default $n2> > Reply message to myself. lol> > 
Best regards.> > > > Alexandre Malh?o escreveu:> > Hi,> >> > Does anyone knows 
how t!
 o use manual routing?> >> > I use the command "$ns rtproto Manual" aft
er creating the simulation > > object que I use:> >> >  $n1 
add-route-to-adj-node -default $n2> >  $n2 add-route-to-adj-node -default $n3> 
>> > Unfortunately I get the following message:> >> >     (_o16 cmd line 1)> >  
   invoked from within> > "_o16 cmd add-route-to-adj-node -default _o21"> >     
invoked from within> > "catch "$self cmd $args" ret"> >     invoked from 
within> > "if [catch "$self cmd $args" ret] {> > set cls [$self info class]> > 
global errorInfo> > set savedInfo $errorInfo> > error "error when calling class 
$cls: $args" $..."> >     (procedure "_o16" line 2)> >     (SplitObject unknown 
line 2)> >     invoked from within> > "$n0 add-route-to-adj-node -default $n1"> 
>     (file "test.tcl" line 70)> >> > What could be my problem??> >> > Best 
regards,> >> > Alexandre Malh?o> >> >> >   > > > > 
------------------------------> > Message: 4> Date: Wed, 01 Aug 2007 20:37:42 
+0200> From: [EMAIL PROTECTED]> Subject: Re: [ns] ns-2 installation fails on 
x86_64 p!
 latform> To: "Chervyakov,Andrey" <[EMAIL PROTECTED]>,>         
ns-users@ISI.EDU> Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain;    
charset=ISO-8859-1;     DelSp="Yes";>   format="flowed"> > What distro are you 
using? I didn't have problem on Fedora 5 & 6,  > after upgrading the libraries. 
Look at my web-page, maybe it could  > help you.> > Bye> > 
-----------------------------------------> > Marcello Caleffi, Ph.D. student> 
Department of Electronic and Telecommunication Engineering> University of 
Naples "Federico II"> 21 Claudio street - 80125 Naples ITALY> Tel 
+39-(0)81-7683810. Fax +39-(0)81-7683149> 
http://wpage.unina.it/marcello.caleffi/> > > > > 
------------------------------> > Message: 5> Date: Wed, 1 Aug 2007 20:43:21 
+0200 (CEST)> From: mikel larra?aga negro <[EMAIL PROTECTED]>> Subject: Re: 
[ns] Require Awk script for Old Trace Format File> To: Mohammed Abu Hajar 
<[EMAIL PROTECTED]>, ns simulador>    <ns-users@ISI.EDU>> Messag!
 e-ID: <[EMAIL PROTECTED]>> Content-Type: text
/plain; charset=iso-8859-1> > Thanks for all the scripts that all of you have 
send to this list, they have been very interesting for my work. Anyway, I have 
a doubt.> > I use new wireless trace format, but I can't diference between 
routing and information packets.> When I use DSR, routing packet is the one 
with "RTR" word, isn't it? But what is the diference between have -It DSR or 
-It cbr? In this scripts only "RTR" with -It DSR are taken on acount in routing 
packet sum. > When I use DSDV, what is the diference between message and cbr 
words?> I have no found any documentation about it, so I'm sorry about this 
questions> > Thanks in advance, Mikel> > Mohammed Abu Hajar <[EMAIL PROTECTED]> 
escribi?: > About the awk script for calculate jitter and the awk script for 
calculate throughput is true( notice the first part )>    # Trace line format: 
normal(for old trace)>  if ($2 != "-t") {>   event = $1>   time = $2>   if 
(event == "+" || event == "-") node_id = $3>   if (event == "!
 r" || event == "d") node_id = $4>   flow_id = $8>   pkt_id = $12>   pkt_size = 
$6>   flow_t = $5>   level = "AGT">  }> >   About the awk that calculate Packet 
Delivery Fraction , Normalize routing load, End to End delay and drop packets 
and Routing Load(overhead) its valid for new trace only. So you can modify the 
parameters used in the awk script only or when there ia available time I will 
modfy it for you.>    >   Lastly I advice you to use new trace format using TCL 
command in your TCL file :>   $ns_ use-newtrace >   you will get the trace file 
in new fashion>    >   Mohammed AbuHajar>   > Sofia Iqbal Khanzada  wrote:>     
    v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        
st1\:*{behavior:url(#default#ieooui) }                Thakyou for earliest 
prompt. The given script is for new trace file format and also generating error 
with new trace file format >   FNR=760166) !
 fatal: divi sion by zero attempted >    >   But my trace files are of 
old format i-e >    >   DSR format > > M 0.0 nn 50 x 1000 y 1000 rp DSR > M 0.0 
sc 
~/ns-allinone-2.30/ns-2.30/tcl/mobility/scene/NRENO-DSR-Mobility-S2-PT0/DSDV-NRENO-S2-PT0-0
 cp ~/ns-allinone-2.30/ns-2.30/tcl/mobility/scene/TCP-NewReno-TrafficFile seed 
1.0 > M 0.0 prop Propagation/TwoRayGround ant Antenna/OmniAntenna > Sconfig 
0.00000 tap: on snoop: rts? on errs? on > Sconfig 0.00000 salvage: on !bd 
replies? on > Sconfig 0.00000 grat error: on grat reply: on > Sconfig 0.00000 
$reply for props: on ring 0 search: on > Sconfig 0.00000 using MOBICACHE > M 
0.00000 0 (313.64, 43.50, 0.00), (442.09, 926.57), 2.00 > M 0.00000 1 (970.07, 
601.01, 0.00), (720.90, 277.89), 2.00 > M 0.00000 2 (354.37, 386.19, 0.00), 
(997.43, 797.71), 2.00 > M 0.00000 3 (161.48, 218.16, 0.00), (447.07, 813.34), 
2.00 > M 0.00000 4 (988.06, 330.81, 0.00), (727.83, 911.39), 2.00 > M 0.00000 5 
(339.30, 958.75, 0.00), (149.38, 412.51), 2.00 > M 0.00000 6 (253.38, 61.00, 
0.00), (715.89, 31.36), 2.00 > M 0.00000!
  7 (86.21, 619.90, 0.00), (734.28, 690.18), 2.00 > M 0.00000 8 (822.74, 
970.59, 0.00), (289.19, 505.51), 2.00 > s 2.556838879 _1_ AGT  --- 0 tcp 40 [0 
0 0 0] ------- [1:0 2:0 32 0] [0 0] 0 4 > r 2.556838879 _1_ RTR  --- 0 tcp 40 
[0 0 0 0] ------- [1:0 2:0 32 0] [0 0] 0 4 > s 2.557152010 _1_ RTR  --- 1 DSR 
32 [0 0 0 0] ------- [1:255 2:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0] > r 
2.557964124 _28_ RTR  --- 1 DSR 32 [0 ffffffff 1 800] ------- [1:255 2:255 32 
0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0] > r 2.557964384 _22_ RTR  --- 1 DSR 32 [0 
ffffffff 1 800] ------- [1:255 2:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0] > 
r 2.557964432 _34_ RTR  --- 1 DSR 32 [0 ffffffff 1 800] ------- [1:255 2:255 32 
0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0] > r 2.557964491 _15_ RTR  --- 1 DSR 32 [0 
ffffffff 1 800] ------- [1:255 2:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0] > 
r 2.557964595 _25_ RTR  --- 1 DSR 32 [0 ffffffff 1 800] ------- [1:255 2:255 32 
0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0] > r 2.557964!
 635 _11_ RTR  --- 1 DSR 32 [0 ffffffff 1 800] ------- [1:255 2:255 32 
0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]>    >   I need script for these files L I 
have spent around 2 months for simulating 720 files L >    >   I ?ll be 
grateful to you for ur kind support.>    >   Thanks & Regards,>       > 
--------------------------------->   >   From: Mohammed Abu Hajar 
[mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 01, 2007 12:38 PM> To: 
Sofia Iqbal Khanzada> Cc: NS_2 Mailing List> Subject: Re: [ns] Require Awk 
script for Old Trace Format File> >    >    Tools and Scripts for Getting 
Results>    >           AWK script to measure send, receive, routing and drop 
packets. Packet delivery ratio, routing overhead, normalize routing load, 
average end to end delay.>     parameters.awk> >  >   BEGIN {>        sends=0;> 
       recvs=0;>        routing_packets=0.0;>        droppedBytes=0;>        
droppedPackets=0;>        highest_packet_id =0;>        sum=0;>        
recvnum=0;>      }>    >   {>   time = $3;>   packet_id = $41;>    >   # 
CALCULATE PACKET DELIVE!
 RY FRACTION>   if (( $1 == "s") &&  ( $35 == "cbr" ) && ( $19=="AGT" )) {  
sends++; }>    >   if (( $1 == "r") &&  ( $35 == "cbr" ) && ( $19=="AGT" ))   { 
 recvs++; }>    >   # CALCULATE DELAY >   if ( start_time[packet_id] == 0 )  
start_time[packet_id] = time;>   if (( $1 == "r") &&  ( $35 == "cbr" ) && ( 
$19=="AGT" )) {  end_time[packet_id] = time;  }>        else {  
end_time[packet_id] = -1;  }>    >   # CALCULATE TOTAL DSR OVERHEAD >   if (($1 
== "s" || $1 == "f") && $19 == "RTR" && $35 =="DSR") routing_packets++;>    >   
# DROPPED DSR PACKETS >   if (( $1 == "d" ) && ( $35 == "cbr" )  && ( $3 > 0 
))>        {>              droppedBytes=droppedBytes+$37;>              
droppedPackets=droppedPackets+1;>        }>    >        #find the number of 
packets in the simulation>           if (packet_id > highest_packet_id)>        
      highest_packet_id = packet_id;>   }>    >   END {>    >   for ( i in 
end_time )>   {>   start = start_time[i];>   end = end_time[i];>   packet_du!
 ration = end - start;>   if ( packet_duration > 0 )  >   {    sum += p
acket_duration;>        recvnum++; >   }>   }>    >      delay=sum/recvnum;>    
  NRL = routing_packets/recvs;  #normalized routing load >      PDF = 
(recvs/sends)*100;  #packet delivery ratio[fraction]>      printf("send = 
%.2f\n",sends);>      printf("recv = %.2f\n",recvs);>      printf("routingpkts 
= %.2f\n",routing_packets++);>      printf("PDF = %.2f\n",PDF);>      
printf("NRL = %.2f\n",NRL);>      printf("Average e-e delay(ms)= 
%.2f\n",delay*1000);>      printf("No. of dropped data (packets) = 
%d\n",droppedPackets);>      printf("No. of dropped data (bytes)   = 
%d\n",droppedBytes);>   }> >  >           AWK script for calculate the 
throughput>     Throughput.awk> >  >   BEGIN {>        recvdSize = 0>        
startTime = 1e6>        stopTime = 0>   }>    >   {>        # Trace line 
format: normal>        if ($2 != "-t") {>              event = $1>              
time = $2>              if (event == "+" || event == "-") node_id = $3>         
     if (event == "r" || event == !
 "d") node_id = $4>              flow_id = $8>              pkt_id = $12>       
       pkt_size = $6>              flow_t = $5>              level = "AGT">     
   }>        # Trace line format: new>        if ($2 == "-t") {>              
event = $1>              time = $3>              node_id = $5>              
flow_id = $39>              pkt_id = $41>              pkt_size = $37>          
    flow_t = $45>              level = $19>        }>    >   # Store start 
time>   if (level == "AGT" && (event == "+" || event == "s") && pkt_size >= 
512) {>     if (time < startTime) {>              startTime = time>             
 }>        }>    >   # Update total received packets' size and store packets 
arrival time>   if (level == "AGT" && event == "r" && pkt_size >= 512) {>       
 if (time > stopTime) {>              stopTime = time>              }>        # 
Rip off the header>        hdr_size = pkt_size % 512>        pkt_size -= 
hdr_size>        # Store received packet's size>      !
   recvdSize += pkt_size>        }>   }>    >   END {>        printf("A
verage Throughput[kbps] = %.2f\t\t 
StartTime=%.2f\tStopTime=%.2f\n",(recvdSize/(stopTime-startTime))*(8/1000),startTime,stopTime)>
   }> >  > >  > >  > >  > >  > >  > >  >           AWK script for compute delay 
jitter>     Jitter.awk> >  >   BEGIN {>          num_recv=0>    }>    >   {>    
    # Trace line format: normal>        if ($2 != "-t") {>              event = 
$1>              time = $2>              if (event == "+" || event == "-") 
node_id = $3>              if (event == "r" || event == "d") node_id = $4>      
        flow_id = $8>              pkt_id = $12>              pkt_size = $6>    
          flow_t = $5>              level = "AGT">        }>        # Trace 
line format: new>        if ($2 == "-t") {>              event = $1>            
  time = $3>              node_id = $5>              flow_id = $39>             
 pkt_id = $41>              pkt_size = $37>              flow_t = $45>          
    level = $19>        }>    >   # Store packets send time>   if (l!
 evel == "AGT" && sendTime[pkt_id] == 0 && (event == "+" || event == "s") && 
pkt_size >= 512) {>        sendTime[pkt_id] = time>   }>    >   # Store packets 
arrival time>   if (level == "AGT" && event == "r" && pkt_size >= 512) {>       
       recvTime[pkt_id] = time>              num_recv++>        }>   }>    >   
END {>        # Compute average jitter>        jitter1 = jitter2 = tmp_recv = 
0>        prev_time = delay = prev_delay = processed = 0>        prev_delay = 
-1>        for (i=0; processed>              if(recvTime[i] != 0) {>            
          tmp_recv++>                   if(prev_time != 0) {>                   
     delay = recvTime[i] - prev_time>                        e2eDelay = 
recvTime[i] - sendTime[i]>                        if(delay < 0) delay = 0>      
                  if(prev_delay != -1) {>                        jitter1 += 
abs(e2eDelay - prev_e2eDelay)>                        jitter2 += 
abs(delay-prev_delay)>                        }>                !
         prev_delay = delay>                        prev_e2eDelay = e2e
Delay>                   }>                   prev_time = recvTime[i]>          
    }>              processed++>        }>   }>    >   END {>       >          
printf("Jitter1 = %.2f\n",jitter1*1000/tmp_recv);>          printf("Jitter2 = 
%.2f\n",jitter2*1000/tmp_recv);>   }>    >   function abs(value) {>        if 
(value < 0) value = 0-value>        return value>   }> > Mohammed AbuHajar>   > 
> ns user  wrote: >   > > hi, > > I have simulated AODV, DSDV and DSR with TCP 
variants Reno, NewReno and> Vegas. now i have trace file with the following 
format (DSDV format) the> format is old > > M 0.0 nn 50 x 1000 y 1000 rp DSDV> 
M 0.0 sc> 
~/ns-allinone-2.30/ns-2.30/tcl/mobility/scene/DSDV-Mobilit-S2-PT0/DSDV-RENO-S2-PT0-0>
 cp ~/ns-allinone-2.30/ns-2.30/tcl/mobility/scene/TCP-Reno-TrafficFile seed> 
1.0 M 0.0 prop Propagation/TwoRayGround ant Antenna/OmniAntenna M 0.00000 0> 
(108.79, 121.80, 0.00), (477.54, 277.38), 2.00 M 0.00000 1 (661.65, 886.95,> 
0.00), (610.30, 510.36), 2.00 M 0.!
 00000 2 (441.88, 557.58, 0.00), (35.61,> 684.55), 2.00 M 0.00000 3 (681.72, 
645.08, 0.00), (891.98, 394.46), 2.00 M> 0.00000 4 (550.56, 836.00, 0.00), 
(570.78, 98.00), 2.00 r 50.783030204 _41_> RTR --- 5168 ack 60 [13a 29 9 800] 
------- [9:0 7:2 32 41] [66 0] 1 2 f> 50.783030204 _41_ RTR --- 5168 ack 60 
[13a 29 9 800] ------- [9:0 7:2 31 7]> [66 0] 1 2 r 50.785107893 _7_ AGT --- 
5423 ack 60 [13a 7 8 800] -------> [8:0 7:1 32 7] [547 0] 1 1 s 50.785107893 
_7_ AGT --- 5463 tcp 1064 [0 0 0> 0] ------- [7:1 8:0 32 0] [562 0] 0 1 r 
50.785107893 _7_ RTR --- 5463 tcp> 1064 [0 0 0 0] ------- [7:1 8:0 32 0] [562 
0] 0 1 s 50.785107893 _7_ RTR > --- 5463 tcp 1084 [0 0 0 0] ------- [7:1 8:0 32 
8] [562 0] 0 1 r> 50.795417368 _8_ AGT --- 5438 tcp 1084 [13a 8 7 800] ------- 
[7:1 8:0 32 8]> [557 0] 1 1 s 50.795417368 _8_ AGT --- 5464 ack 40 [0 0 0 0] 
------- [8:0> 7:1 32 0] [557 0] 0 1 r 50.795417368 _8_ RTR --- 5464 ack 40 [0 0 
0 0]> ------- [8:0 7:1 32 0] [557 0] 0 1 s 50.795417368 _8_ R!
 TR --- 5464 ack 60> [0 0 0 0] ------- [8:0 7:1 32 7] [557 0] 0 1 r 50.
805667684 _9_ AGT ---> 5428 tcp 1084 [13a 9 8 800] ------- [8:1 9:1 32 9] [963 
0] 1 1 s> 50.805667684 _9_ AGT --- 5465 ack 40 [0 0 0 0] ------- [9:1 8:1 32 0] 
[963> 0] 0 1 r 50.805667684 _9_ RTR --- 5465 ack 40 [0 0 0 0] ------- [9:1 8:1 
32> 0] [963 0] 0 1 s 50.805667684 _9_ RTR --- 5465 ack 60 [0 0 0 0] -------> 
[9:1 8:1 32 8] [963 0] 0 1 r 50.807705921 _41_ RTR --- 5179 ack 60 [13a 29> 9 
800] ------- [9:0 7:2 32 41] [67 0] 1 2 f 50.807705921 _41_ RTR --- 5179> ack 
60 [13a 29 9 800] ------- [9:0 7:2 31 7] [67 0] 1 2> > DSR format> > M 0.0 nn 
50 x 1000 y 1000 rp DSR> M 0.0 sc> 
~/ns-allinone-2.30/ns-2.30/tcl/mobility/scene/NRENO-DSR-Mobility-S2-PT0/DSDV-NRENO-S2-PT0-0>
 cp ~/ns-allinone-2.30/ns-2.30/tcl/mobility/scene/TCP-NewReno-TrafficFile> seed 
1.0> M 0.0 prop Propagation/TwoRayGround ant Antenna/OmniAntenna> Sconfig 
0.00000 tap: on snoop: rts? on errs? on> Sconfig 0.00000 salvage: on !bd 
replies? on> Sconfig 0.00000 grat error: on grat reply: on> Sconfig 0.00000 
$reply for!
  props: on ring 0 search: on> Sconfig 0.00000 using MOBICACHE> M 0.00000 0 
(313.64, 43.50, 0.00), (442.09, 926.57), 2.00> M 0.00000 1 (970.07, 601.01, 
0.00), (720.90, 277.89), 2.00> M 0.00000 2 (354.37, 386.19, 0.00), (997.43, 
797.71), 2.00> M 0.00000 3 (161.48, 218.16, 0.00), (447.07, 813.34), 2.00> M 
0.00000 4 (988.06, 330.81, 0.00), (727.83, 911.39), 2.00> M 0.00000 5 (339.30, 
958.75, 0.00), (149.38, 412.51), 2.00> M 0.00000 6 (253.38, 61.00, 0.00), 
(715.89, 31.36), 2.00> M 0.00000 7 (86.21, 619.90, 0.00), (734.28, 690.18), 
2.00> M 0.00000 8 (822.74, 970.59, 0.00), (289.19, 505.51), 2.00> s 2.556838879 
_1_ AGT --- 0 tcp 40 [0 0 0 0] ------- [1:0 2:0 32 0] [0 0] 0> 4> r 2.556838879 
_1_ RTR --- 0 tcp 40 [0 0 0 0] ------- [1:0 2:0 32 0] [0 0] 0> 4> s 2.557152010 
_1_ RTR --- 1 DSR 32 [0 0 0 0] ------- [1:255 2:255 32 0] 1> [1 1] [0 1 0 0->0] 
[0 0 0 0->0]> r 2.557964124 _28_ RTR --- 1 DSR 32 [0 ffffffff 1 800] ------- 
[1:255 2:255> 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]> r 2!
 .557964384 _22_ RTR --- 1 DSR 32 [0 ffffffff 1 800] ------- [1:255 2:2
55> 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]> r 2.557964432 _34_ RTR --- 1 DSR 
32 [0 ffffffff 1 800] ------- [1:255 2:255> 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 
0->0]> r 2.557964491 _15_ RTR --- 1 DSR 32 [0 ffffffff 1 800] ------- [1:255 
2:255> 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]> r 2.557964595 _25_ RTR --- 1 
DSR 32 [0 ffffffff 1 800] ------- [1:255 2:255> 32 0] 1 [1 1] [0 1 0 0->0] [0 0 
0 0->0]> r 2.557964635 _11_ RTR --- 1 DSR 32 [0 ffffffff 1 800] ------- [1:255 
2:255> 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]> > now i need an awk script to 
calculate TCP parameters throughput , paket> delivery ratio ... etc > > Please 
help me in this regard i'll be thankful to you > > -- > View this message in 
context: 
http://www.nabble.com/Require-Awk-script-for-Old-Trace-Format-File-tf4198129.html#a11939926>
 Sent from the ns-users mailing list archive at Nabble.com.>    >     >     > 
--------------------------------->   >   Got a little couch potato? > Check out 
fun summer activities for k!
 ids.> > > >        > ---------------------------------> Park yourself in front 
of a world of choices in alternative vehicles.> Visit the Yahoo! Auto Green 
Center.> > >        > ---------------------------------> > ?Descubre una nueva 
forma de obtener respuestas a tus preguntas!> Entra en Yahoo! Respuestas.> > > 
------------------------------> > Message: 6> Date: Wed, 1 Aug 2007 19:30:07 
+0000> From: JEHD MAHDI <[EMAIL PROTECTED]>> Subject: Re: [ns] nam problem> To: 
Mohammed Abu Hajar <[EMAIL PROTECTED]>> Cc: ns2 mailing <ns-users@ISI.EDU>> 
Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain; 
charset="Windows-1252"> > > doesn't work> > > J Mahdi> Newcastle Upon Tyne> 
**********************> My favourite sites:> www.al-islam.com> 
www.islamspirit.com > www.troid.org >  > > > Date: Wed, 1 Aug 2007 09:09:50 
-0700From: [EMAIL PROTECTED]: Re: [ns] nam problemTo: [EMAIL PROTECTED]: 
ns-users@isi.edu> Hi ns-user,> I think you should remove or !
 delete or disable the following statment: # exec nam trace2.nam &>  > 
like my proc I used:>  > proc stop {} {    global ns_ tracefd namtrace 
throughFile    $ns_ flush-trace    close $tracefd    close $namtrace    close 
$throughFile       # exec nam trace2.nam &    exit 0}>  > Mohammed AbuHajarJEHD 
MAHDI <[EMAIL PROTECTED]> wrote:> hi there this a problem i get when i runns 
simple.tclrunning nam...ns: finish: couldn't execute 'nam': no such file or 
directory while executing'exec nam out.nam &' (procedure 'finish' line 8) 
invoked from within'finish'i did all paths like this:setenv PATH 
'/usr/local/ns2/ns-allinone-2.29/bin'setenv TCL_LIBRARY 
'/usr/local/ns2/tcl8.4.11/library'setenv TK_LIBRARY 
'/usr/local/ns2/tk8.4.11/library'but still get it!!!!!!! any help plzz :-(J 
MahdiNewcastle Upon Tyne**********************My favourite 
sites:www.al-islam.comwww.islamspirit.com www.troid.org 
_________________________________________________________________Feel like a 
local wherever you go with BackOfMyHand.comhttp://www.backofmyhand.com> > > 
Moody friends. !
 Drama queens. Your life? Nope! - their life, your story.Play Sims Stories at 
Yahoo! Games. > 
_________________________________________________________________> 100?s of 
Music vouchers to be won with MSN Music> 
https://www.musicmashup.co.uk/index.html> > ------------------------------> > 
Message: 7> Date: Wed, 1 Aug 2007 17:04:57 -0500> From: oscar andres <[EMAIL 
PROTECTED]>> Subject: [ns] Error whit ns> To: <ns-users@ISI.EDU>> Message-ID: 
<[EMAIL PROTECTED]>> Content-Type: text/plain; charset="iso-8859-1"> > >  >  I 
was successful in installation, but I can't run the example script in in 
tutorial simple.tcl. When i tried to run it gives few errors like:>  > bash: ns 
: command not found>  > What can i do> 
_________________________________________________________________> Invite your 
mail contacts to join your friends list with Windows Live Spaces. It's easy!> 
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en!
 -us> > ------------------------------> > _____________________________
__________________> Ns-users mailing list> Ns-users@isi.edu> 
http://mailman.isi.edu/mailman/listinfo/ns-users> > > End of Ns-users Digest, 
Vol 44, Issue 2> ***************************************
_________________________________________________________________
With Windows Live Hotmail, you can personalize your inbox with your favorite 
color.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607

Reply via email to