[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns]packets sent
The last observer transmitted packet sequence number field in the tracefile
should do the trick. As an example, run tg.tcl from the tcl/ex directory.
grep exp out.tr|tail -n 1
The second to last field is the packet sequence field..
383 (seq starts at 0) packets total sent for exp from node 2..
If you need to distinquish multiple flows, then filter on appropriate
parameters for your scenario (e.g., flowid, source id) available in the
trace format.
At 05:20 PM 6/1/2001 +0100, Lavalle-Pareja, Enrique wrote:
>Hi all,
>
>I'm using an EXPOO source to generate UDP packets and it works fine, but I'm
>trying to obtain the actual number of packets sent (without having to count
>them manually!). Any idea on how to output the total No. of packets Sent
>from a source/node?
>
>Thanks!
>Enrique