[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] How to trace only dropped packets?





> > >         I have to get all dropped packets from a given traffic source.
> > > The problem is that the file generated by trace-all is getting to big
> > > (almost 1GB in size).
> > >         So I would like to know how to trace ONLY the packets that were
> > > dropped from a given traffic source.
> > >         Is there a specific trace command to do that?


$ns drop-trace $n1 $n2 $trace

check ~ns-2/tcl/lib/ns-lib.tcl for details on how this works if u r
curious.


	- Ratul