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 <[email protected]>
> Date: Mon, Dec 27, 2010 at 2:43 PM
> Subject: throughput
> To: [email protected]
>
>
> 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.