Hi Huda, What you can do is that you can go into the cmu-trace.cc file and then comment the unwanted variables that you don't need to print in the trace file and then recompile the ns2 by using make clean, make, and sudo make install. In this way, your trace file will have the selected data.
Moreover, you can create your own trace file by using fstream and ostream. For this, you need to declare the relevant header file. But, this is little bit lengthy, as you should know where you have to put these cout statement to print the relevant variables. Hope it helps Thanks Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France On 8 May 2010 07:39, huda hubboub <[email protected]> wrote: > > Dear all, > > > > I was wondering whether there exists any way to deal with huge trace files > as I couldn't completely open the whole file in Excel. > > I try to minimize the trace options by dedicating the trace only to agent > level; however I still have problems as my simulation parameters bounds > are limited such as simulation time or number of nodes. > > > > I am performing a flooding attack in directed diffusion based network. > > > > Any idea would be appreciated. > > > > Huda B. Hubboub > -- Mubashir Husain Rehmani
