Thursday 18 July 2013

AWK Script for NS2

AWK is a programming language that is designed for processing text-based data, either in files or data streams, and was created at Bell Labs in the 1970s. The name AWK is derived from the family names of its authors - Alfred Aho, Peter Weinberger and Brian Kernighan.

"AWK is a language for processing files of text. A file is treated as a sequence of records, and by default each line is a record. Each line is broken up into a sequence of fields, so we can think of the first word in a line as the first field, the second word as the second field, and so on. An AWK program is of a sequence of pattern-action statements. AWK reads the input a line at a time. A line is scanned for each pattern in the program, and for each pattern that matches, the associated action is executed." - Alfred V. Aho

 - - - From Wikipedia, the free encyclopedia.


Links to AWK scripts for NS2 are given below:

AWK script for throughput – Download! (Click again if it doesnt work first time :) )

AWK script for jitter – Download!

AWK script for pdf (packet delivery fraction) – Download!

No comments:

Post a Comment