Dear Renata, Use of "grep" or "egrep" can speed up processing the trace file. Extract only relevant lines of traces by using pattern matching and pipe the extracted liines to perl or awk. For example, egrep "^r.*_0_.*cbr". There are A LOT more variations for the pattern matching. I would google both "grep" and pattern matching.
About the trace file size, the only handy solution might be NOT using traceall without changing simulation settings. Since trace file is a pure text file, the trace file size can be huge depending on your simulations. If you run the simulations LONGER with MORE packets, the size of trace file becomes larger. Good luck! Yours truly, Tae-hyung Kim !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Friends are angels who lift us to our feet when our wing have trouble remembering how to fly. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Phone (O): +1-573-341-4532 Phone (C): +1-573-201-7977 Fax: +1-573-341-4532 Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] Address: University of Missouri, Rolla Applied Computational Intelligence Laboratory G11 Emerson Electric Co. Hall 1870 Miner Circle Rolla, MO 65409-0040 ----- Original Message ----- From: "Renata Vidal" <[EMAIL PROTECTED]> To: "ghada" <[EMAIL PROTECTED]> Cc: <ns-users@ISI.EDU> Sent: Tuesday, January 02, 2007 8:50 AM Subject: Re: [ns] very long trace files? > > I think there is no solution for it, I already got files about 13Gb. > So, instead of use "trace all" trace just you really want. > > > On 12/25/06, ghada <[EMAIL PROTECTED]> wrote: >> >> Dear ALL, >> >> >> >> I have set of large trace files around 3 GB; I am using Perl script to >> extract throughput and Data Delivery Ratio, >> >> But it takes a very long time, >> >> >> >> Any one has a solution for this... >> >> >> >> Thanks for your help, >> >> >> > > > -- > Renata Vidal > "Triste ? o destino de quem tenta vencer as batalhas e ter sucesso nos > ataques sem cultivar o esp?rito da iniciativa (A Arte da Guerra ? SUN > TSU ? pg 102)" >