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

Re: [ns] Problems with trace-queue/big simulation/grep ?



I wonder if you will still have the same problem if
you output them to 3 different trace files and merge
them together later?

Kun-chan Lan

On Fri, 24 Aug 2001, [iso-8859-1] Andrea Josi wrote:

> Hi all,
> 
> i am getting weird trace files when i use
> "trace-queue":
> 
> in my tcl script i have lines like
> 
> $ns trace-queue $n30 $n25 [open "| grep cbr > geo.tr"
> w]
> $ns trace-queue $n38 $n35 [open "| grep cbr > geo.tr"
> w]
> $ns trace-queue $n35 $n38 [open "| grep cbr > geo.tr"
> w]
> 
> Most of the trace file's lines are "ok" while some of
> them are incomplete, for example:
> 
> this line is "ok"
> 
> - 9.992547 59 58 cbr 210 -P----- 0 43.1 -2147483648.0
> 2130 214947
> 
> the following two clearly are not !
> 
> r 7483648.0 2130 214947
> 
> 1 215041
> 
> What is the reason of this behaviour ? 
> (memory overflow ???)
> 
> I could make up for this be "cleaning" the trace file
> with an awk script, but i would lose some data then !
> 
> Thanks a lot.
> 
> 
> 
> ______________________________________________________________________
> Do You Yahoo!?
> Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it
>