Trace File
In Ns2 trace File format is of two types.
In Ns2 trace File format is of two types.
By Default it will show Old trace file format,you can Enable it by inserting this code in Your TCL code
- Old trace File Format
- New trace File Format
- $ns use-newtrace
s 2.556838879 _0_ RTR --- 0 AODV 48 [0 0 0 0] ------- [0:255 -1:255 30 0]
[0x2 1 1 [1 0] [0 4] ] (REQUEST)
New Trace File Format of AODV
r -t 0.100636268 -Hs 3 -Hd -2 -Ni 3 -Nx 80.00 -Ny 65.00 -Nz 0.00 -Ne -
1.000000 -Nl RTR -Nw --- -Ma 0 -Md ffffffff -Ms 0 -Mt 800 -Is 0.255 -Id -1.255 -It AODV -Il 48 -If
0 -Ii 0 -Iv 30 -P aodv -Pt 0x2 -Ph 1 -Pb 1 -Pd 2 -Pds 0 -Ps 0 -Pss 4 -Pc REQUEST
For more NS2 Trace File formats and their Interpretation click HERE
Hi! Could you be having the tcl script for security protocol like SPINS and tinysec?
ReplyDeleteIf yes,please send for me via mail:ndiajohn@yahoo.com
hi sir.
ReplyDeletei am facing error when i generate xgraph from trace(.tr) file like this
Error in file 'out.tr' at line ...
unknown line type
problems found with input data.
please sir give me solution it is very important to me.
pradeep.vanparia@gmail.com
Hello sir,
ReplyDeletei want to calculate end to end delay vs pusetime for aodv and dsdv ..how can i do that pls help me.