[ns] processing trace files

Aicho SAID(ENG) Aicho.Said at student.shu.ac.uk
Mon Jan 19 05:37:37 PST 2004


Thanks I did it and it works now, and I think they should update their website because it's quite
confusing. 

I have another question if anyone can help, I want to calculate end-to-end delay of the packets
sent , and I am using the new trace format of wireless simulations. 
I was thinking of extracting sent packet time from souce to destination and packet id but I am not
sure at which level at should look at is MAC or RTR?
And I have notice that some lines are like
s -t 1.006144333 -Hs 0 -Hd -2 what does this -2 mean? (i am using a  chain topology ans sending
packet from node 0 to node 1 and node 2 is out of range of node 0), so it shouldn't hear it.

Also packet are sent form node 0 to node 1 but I never seem to see packet receive -Hs 0 -Hd 1, it
is either r -t 1.00555 -Hs 0 -Hd -2 at MAC  or r -1.00222 -Hs 1 -Hd -2 at MAC or r -1.00222 -Hs 1
-Hd -1 at AGT so which one is the packet received at node 1.

Thanks in advance for any knid of input.
Aisha


raysaikat at lycos.com writes:
>Please understand that "column.pl" is the name of the file, not "column", and you will need to use
>the full name. To be sure, use "./column.pl"
>
>--------- Original Message ---------
>
>DATE: Sun, 18 Jan 2004 22:36:21
>From: "Aicho SAID(ENG)" <Aicho.Said at student.shu.ac.uk>
>To: raysaikat at lycos.com
>Cc: ns-users at ISI.EDU
>
>>
>>Thanks for the reply, I have done it, then I typed in cat file.tr | column 1 2 > temp.txt , to try
>>out  and I had this message foo: No such file or directory 1
>>			        foo: No such file or directory 2
>>
>>please advise, thanks
>>aicha
>>
>>raysaikat at lycos.com writes:
>>>Use:
>>>
>>>chmod 755 column.pl
>>>
>>>In the commands you showed, you did not use column.pl though. A perl script is usually run by
>>>"perl file.pl" or "cat test.tr|file.pl", depending upon the
>>>scripting style.
>>>
>>>--------- Original Message ---------
>>>
>>>DATE: Sun, 18 Jan 2004 20:51:38
>>>From: "Aicho SAID(ENG)" <Aicho.Said at student.shu.ac.uk>
>>>To: ns-users at ISI.EDU
>>>Cc: 
>>>
>>>>
>>>>Hello, 
>>>>
>>>>I have simulated an ad-hoc network and I would like to process the data so I could get packet
>>>>received packet send, packet loss, throughput... I want to use awk or perl I have downloaded the
>>>>column.pl from the site Ns by example and I tried to use it following the command given on site
>>>>(chmod 755 column )It gave me the following error 
>>>>chmod: getting attributes of @column@ : No such file or directory
>>>>but I copied column.pl in this directory so I don't know what it means
>>>>
>>>> then on the command line I tried this to extract all the packet sent from 0 to 1 but it did no
>>>>return anything
>>>>cat file.tr | egrep "^s" | grep "-Hs 0 -Hd 1" > temp.txt
>>>>
>>>>so if naybody know waht is the right command to extract the correct fields, please let me know.
>>>>
>>>>Thanks 
>>>>Aicha
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>____________________________________________________________
>>>Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
>>>http://login.mail.lycos.com/r/referral?aid=27005
>>
>>
>>
>
>
>
>____________________________________________________________
>Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
>http://login.mail.lycos.com/r/referral?aid=27005




More information about the Ns-users mailing list