hi the number of columns not correspond to new trace format node_id not the 
colume number 5 , you must recorrect the esquence of the number that match to 
new trace format 

--- On Sat, 7/9/11, umair shah <meetuas...@yahoo.com> wrote:


From: umair shah <meetuas...@yahoo.com>
Subject: [ns] trace2stats for awk
To: "nsusers" <ns-users@ISI.EDU>
Date: Saturday, July 9, 2011, 2:38 AM



http://perso.citi.insa-lyon.fr/mfiore/research.html
the website has A set of AWK scripts to get node-to-node statistics from the
                    tracefiles generated by the ns-2 network simulat
,the awk script for instant throughput,instant jitter and avgstats but when I 
run any of them i don't get the results in any case just blank lines ,I'm using 
the new trace format as stated in readme file .
this is from instant throughput script in awk 
# Trace line format: new
    if ($2 == "-t") {
        event = $1
        time = $3
        node_id = $5
        flow_id = $39
        pkt_id = $41
        pkt_size = $37
        flow_t = $45
        level = $19
I have a question is this the correct field setting values because I think $5!= 
node id 
if it is ,then why is it note working please reply .

Reply via email to