I just wanna ask two different doubts..

First:
Take a look at these trace file content.. It uses new-trace format of
wireless n/w

Sconfig 0.00000 tap: on snoop: rts? on errs? on
Sconfig 0.00000 salvage: on !bd replies? on
Sconfig 0.00000 grat error: on grat reply: on
Sconfig 0.00000 $reply for props: on ring 0 search: on
Sconfig 0.00000 using MOBICACHE
M 0.20000 0 (50.00, 50.00, 0.00), (50.00, 50.00), 0.00
M 0.20000 1 (100.00, 50.00, 0.00), (100.00, 50.00), 0.00
s -t 0.500000000 -Hs 0 -Hd -2 -Ni 0 -Nx 50.00 -Ny 50.00 -Nz 0.00 -Ne
0.200000 -Nl AGT -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 0.0 -Id 1.0 -It
tcp -Il 40 -If 2 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
r -t 0.500000000 -Hs 0 -Hd -2 -Ni 0 -Nx 50.00 -Ny 50.00 -Nz 0.00 -Ne
0.200000 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 0.0 -Id 1.0 -It
tcp -Il 40 -If 2 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
s -t 0.506923068 -Hs 0 -Hd -1 -Ni 0 -Nx 50.00 -Ny 50.00 -Nz 0.00 -Ne
0.200000 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 0.255 -Id 1.255
-It DSR -Il 32 -If 0 -Ii 1 -Iv 32 -P dsr -Ph 1 -Pq 1 -Ps 1 -Pp 0 -Pn 1
-Pl 0 -Pe 0->0 -Pw 0 -Pm 0 -Pc 0 -Pb 0->0
N -t 0.507578 -n 1 -e 0.199933
r -t 0.508275235 -Hs 1 -Hd -1 -Ni 1 -Nx 100.00 -Ny 50.00 -Nz 0.00 -Ne
0.199933 -Nl RTR -Nw --- -Ma 0 -Md ffffffff -Ms 0 -Mt 800 -Is 0.255
-Id 1.255 -It DSR -Il 32 -If 0 -Ii 1 -Iv 32 -P dsr -Ph 1 -Pq 1 -Ps 1
-Pp 0 -Pn 1 -Pl 0 -Pe 0->0 -Pw 0 -Pm 0 -Pc 0 -Pb 0->0
s -t 0.510446830 -Hs 1 -Hd 0 -Ni 1 -Nx 100.00 -Ny 50.00 -Nz 0.00 -Ne
0.199933 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 1.255 -Id 0.255
-It DSR -Il 44 -If 0 -Ii 2 -Iv 254 -P dsr -Ph 2 -Pq 0 -Ps 1 -Pp 1 -Pn
1 -Pl 2 -Pe 0->1 -Pw 0 -Pm 0 -Pc 0 -Pb 0->0
N -t 0.510862 -n 0 -e 0.199869
N -t 0.511857 -n 1 -e 0.199834
N -t 0.512219 -n 0 -e 0.199803
N -t 0.512533 -n 1 -e 0.199739
N -t 0.513184 -n 0 -e 0.199709
N -t 0.513898 -n 0 -e 0.199674
N -t 0.514260 -n 1 -e 0.199643
N -t 0.514574 -n 0 -e 0.199566
N -t 0.515352 -n 1 -e 0.199536

and it goes on.. In this i don kno wat r these lines containin 'N' in
the beginnin, which also shows the Node energy level getting depleted
in a short duration without any activity as it shows the timestamp
too.. (Revised Trace format explanation can be found in detail in ns
official manual oct'07, Page:158)

Second:
How can i trace a single numerical parameter into a separate trace file..
I kno how to create trace files but i wanna kno how to capture the
parameter we need, for instance i can say the Node energy which is
prefixed with -Ne (which can be seen in trace file i have given
above), or anythin that will not be traced in trace-all like Received
Signal Strength Indication(RSSI) or anythin else like that..
And is there something like Only when the trace file has numerical
datas of only one parameter, it can be used ofr xgraph plotting???????
If so how can we filter the numerical content of a single parameter
(say that of timestamp) from a 'trace-all' trace file..?
Of course different trace files having different parameters in it can
be used in plottin with xgraph (One can Refer Marc. Greis Turorial)

Thx in advance my dear frndss...
--
Warm regards,
Ranjithkumar Mohanasundaram.

Reply via email to