Sita, have a look to the ns-manual, and you'll find all infos on tracefiles format.
Regards, Marco Fiore >----Messaggio originale---- >Da: [EMAIL PROTECTED] >Data: 3-feb-2006 4.45 AM >A: "ns list"<ns- [EMAIL PROTECTED]> >Ogg: [ns] help with trace file > > >Hello, >I am trying to collect some data from the ns-2 trace file to tabulate >results. I am using the new wireless trace format. I have agent, router >and mac trace set to ON in my tcl file. I am using AODV as my routing >protocol. >However, I do not see any MAC address information or packet ID or unique >ID that I can use to calculate throughput, delay etc. Sample trace is as >follows: > >s -t 46.000000000 -Hs 50 -Hd -2 -Ni 50 - Nx 0.00 -Ny 50.00 -Nz 0.00 -Ne >198.231428 -Nl AGT -Nw --- [0.00 0 0] - Is 50.0 -Id 51.0 -It tcp -Il 40 >-If 2 -Ii 1 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0 >r -t 46.000000000 -Hs 50 -Hd -2 -Ni 50 -Nx 0.00 -Ny 50.00 - Nz 0.00 -Ne >198.231428 -Nl RTR -Nw --- [0.00 0 0] -Is 50.0 -Id 51.0 - It tcp -Il 40 >-If 2 -Ii 1 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0 >s -t 46.000000000 -Hs 50 -Hd -2 -Ni 50 -Nx 0.00 -Ny 50.00 -Nz 0.00 -Ne >198. 231428 -Nl RTR -Nw --- [0.00 0 0] -Is 50.255 -Id -1.255 -It AODV -Il >48 -If 0 -Ii 0 -Iv 30 -P aodv -Pt 0x2 -Ph 1 -Pb 3 -Pd 51 -Pds 0 -Ps 50 >-Pss 8 -Pc REQUEST >s -t 46.000004532 -Hs 7 -Hd -2 -Ni 7 -Nx 1.00 -Ny 100.00 -Nz 0.00 -Ne >198.137611 -Nl MAC -Nw --- [0.12 7 50] > >Any help appreciated. >Thanks, >Sita > >