hi,
I have doubt regarding tracing ns2 file ? suppose i have tcl script
file say abc.tcl , i run it as " *ns* abc.tcl " and show the trac file like
:
s 29.039395394 _9_ RTR --- 1 DSR 32 [0 0 0 0] ------- [9:255 11:255 32 0] 1
[1 1] [0 1 0 0->0] [0 0 0 0->0]
r 29.040507483 _43_ RTR --- 1 DSR 32 [0 ffffffff 9 800] ------- [9:255
11:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]
r 29.040507573 _16_ RTR --- 1 DSR 32 [0 ffffffff 9 800] ------- [9:255
11:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]
r 29.040507625 _29_ RTR --- 1 DSR 32 [0 ffffffff 9 800] ------- [9:255
11:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]
s 29.040507752 _10_ RTR --- 1 DSR 32 [0 ffffffff 9 800] ------- [9:255
11:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]
r 29.040507774 _14_ RTR --- 1 DSR 32 [0 ffffffff 9 800] ------- [9:255
11:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]
s 29.040507784 _22_ RTR --- 1 DSR 32 [0 ffffffff 9 800] ------- [9:255
11:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]
r 29.040507908 _12_ RTR --- 1 DSR 32 [0 ffffffff 9 800] ------- [9:255
11:255 32 0] 1 [1 1] [0 1 0 0->0] [0 0 0 0->0]
Now from this tracing file , I want to plot a graph say " Number of
transitions vs Number of nodes " ?
How can i analysis the trace file ? whether i will go for perl script ? How
to do ??.......
with regards
Jyotirmoy