Sara,

the simplest way is probably to post-process your tracefile
using awk or perl. Modifying the C++ code which generates
the tracefile 
could be very time-consuming, as it is spread
among all the implemented 
agents...

Using awk or perl on the ns-2 tracefile you can print only
some particular lines. Many references/tutorials/examples
of both 
languages are available on the web.

Regards,

Marco Fiore

>----
Original Message----
>From: [EMAIL PROTECTED]
>Date: Mar 31, 2006 
12:52 PM
>To: "ns-users"<[email protected]>
>Subj: [ns] Trace file
>
>
>Hi all,
>Is there a simple mode to modify the trace file? 
>For 
example I wouldn't print the lines  about beacon frames.
>Thanks in 
advance ,
>
>Sara.  
>
>


Reply via email to