[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] problem with trace-all
On Tue, 31 Oct 2000, Nasser Al Zidi wrote:
> I'm using trace-all to to trace the packets on my topology. However the
> resulting file is getting very large (>400MB) for only 30 minutes of
> simulation. is there a way to get smaller files . may be in binary
> format.
pipe directly to a gzip command, or to a grep or awk filter only
recording the events of interest to you, or both. Slows the
simulation, though.
set outputtrace stupidfilename
set filehandlething [open "| gzip -c | grep CBR > $outputtrace.gz" w]
or variations thereof.
L.
<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>