[ns] Fwd: help me fix this trace

Mohammed Abu Hajar mcsist at yahoo.com
Sat Dec 1 21:18:51 PST 2007


Dear Sir,

Don't worry about that, I will help you step by step to get the correct results, firstly use the attach awk script to extract results from you simulation output file using the command: 
awk -f metrics.awk out.tr 
and let me see the results, if its not worked well, there is another soultion..

Regards,
Mohammed AbuHajar
MSc Computer Science
University of Northern Virginia



----- Original Message ----
From: adi suryo wibowo <suryowibowo.adi at gmail.com>
To: Mohammed Abu Hajar <mcsist at yahoo.com>; NS2 <ns-users at isi.edu>
Sent: Saturday, December 1, 2007 12:19:46 AM
Subject: Fwd: help me fix this trace

Hii ns-User

I was read in ns mailing list and I found your name in contribute helping other peoples.
I truly need your help..
I was simulated my tcl script in ns2.30 using new_trace format
I have out.tr then I want to calculate 3 performance metric :
paket delivery ratio, normalized overhead and end to end delay.
I use my awk script to get desire value but I don't know that was not success.
I get this value in my parsing result
send = 8871.00
recv = 0.00
routingpkts = 682.00
PDF = 0.00
NRL = inf
Average e-e delay(ms)= nan
No. of dropped data (packets) = 322
No. of dropped data (bytes)   = 171304

I am attach .tr file in my mail, please help me what's wrong..?
why my recv and PDF = 0.00?
My awk script was wrong? or
can you give me correct calculation with my out2.tr in my attachment ? 
What meaning of :  NRL = inf
              Average e-e delay(ms)= nan
thanks for your reply.
STTTelkom Student at Indonesia


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: metrics.awk
Url: http://mailman.isi.edu/pipermail/ns-users/attachments/20071201/d8ee8b88/utf-8qmetrics.ksh


More information about the Ns-users mailing list