Try this link from Mohit
http://mohittahiliani.blogspot.com/2009/12/awk-script-for-ns2.html
From: Revathi Elangovan
Subject: [ns] Awk script for throughput in wired environment
To: ns-users@isi.edu
Message-ID:
Content-Type: text/plain; charset=ISO
Hi everyone!
Can anyone pls help me with providing awk script for throughput evaluation
in wired environment My sample trace file is
+ 0.51 0 2 cbr 500 --- 1 0.0 4.0 2 2
- 0.51 0 2 cbr 500 --- 1 0.0 4.0 2 2
r 0.514 0 2 cbr 500 --- 1 0.0 4.0 0 0
+ 0.514 2 3 cbr 500 --- 1 0.0 4