Gladiator Trojan wrote:
>
>
> Hello
>
> How can I calculate these following things From a Trace file ?
>
> 1.Throughput
> 2. Packet Drop Rate
> 3. GoodPut
> 4, Availabe BW
>
> Very urgent for me.
>
>
>
> ---------------------------------
> Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See
> how.
>
>
This is just an example awk script to calculate Throughput. It may help you.
BEGIN {
ue1_throughput=0;
}
{
if($1=="r" && $4==2 && $5=="tcp" && $8 == 0)
{
ue1_throughput = ue1_throughput + $6 - 40;
}
}
END {
print "Throughputs for each user equipment ->"
print "Total throughput achieved by UE1:
"(ue1_throughput/10)*(8/1000) "kbps";
print "End of Results";
}
--
View this message in context:
http://www.nabble.com/Calculating-from-trace-file-tf4869595.html#a13942293
Sent from the ns-users mailing list archive at Nabble.com.