[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Determining No of Packets in the Interface Queue
write a simple awk script.
a simple awk script to find out how many arrived:
BEGIN {c = 0;}
$1="+" {c=c+1;}
END {print c;}
put it in doshi.awk and use it with awk -f doshi.awk ns.tr
debo
On Fri, 18 Aug 2000, DOSHI SHEETALKUMAR RAVINDRA wrote:
> Hello Everyone,
>
> I'm running wireless ad hoc network simulations on ns
> using traffic movement and pattern files generated by setdest and
> cbrgen.tcl. At the end of the simulation I want to know how many packets
> are still queued up in the IFQ for each node. Can anyone tell me how can I
> determine this number from the trace file or by any other method?
>
> Thanks and regards
>
>
> Sheetalkumar Doshi
> Graduate Student/Teaching Assistant
> Department of Electrical and Computer Engineering
> University Of Colorado at Boulder
>
> *****************************************************
> http://ucsub.Colorado.EDU/~doshi
> *****************************************************
>
>