Here is a collection of trace analysis utilities that have been useful:
Much parsing is easy if you can extract columns. Here is a helper-perl utility called "column" that breaks a text output into columns, separated by whitespace. It is used by many of the scripts below.
Here is a simple perl called stats.pl script that prints some stats along the
bottleneck link (node 1 to node 2, in this case) of an output
file stats.tr. Run it with the command:
stats.pl -l1 1 -l2 2 -max 1.5 stats.tr.
Here is a tunneled shell command called jitter.sh combined with awk, which calculates CBR traffic jitter at receiver node (n3) using data in "out.tr", and stores the resulting data in "jitter.txt". This shell command selects the "CBR packet receive" event at n3, selects time (column 1) and sequence number (column 10), and calculates the difference from last packet receive time divided by difference in sequence number (for loss packets) for each sequence number.