[ns] throughput calculation
c_mpandian
cmuthupandian at gmail.com
Mon Dec 27 22:33:44 PST 2010
use the following awk program
BEGIN{
}
{
if(($1=="r" && $7=="tcp" && $3=="_0_"))
{
pkts=pkts+$8;
Throughput=pkts*8/$2/1000000
print $2,Throughput
}
}
END{
}
Subha Uthayaraj wrote:
>
>
> ---------- Forwarded message ----------
> From: Subha Uthayaraj <usubha.me at gmail.com>
> Date: Mon, Dec 27, 2010 at 2:43 PM
> Subject: throughput
> To: ns-users at isi.edu
>
>
> Hi all,
> How to calculate throughput from trace file?
>
>
> Thank you.
>
> --
> Regards,
> Subha
>
>
>
>
> --
> Regards,
> Subha
>
>
--
View this message in context: http://old.nabble.com/throughput-calculation-tp30537936p30543057.html
Sent from the ns-users mailing list archive at Nabble.com.
More information about the Ns-users
mailing list