Its all about Network Simulations, Internet of Things, Sensor Networks, Programming, etc

Network Simulator 2

Network Simulator 3

Post Page Advertisement [Top]

This is one of the important in ns2 as we are going to analyse the performance metrics of the network

In this session, we are going to see the following metrics.

1. Average Throughput

2. instant Throughput

3. Packet Delivery Ratio

4. Residual Energy of the nodes.


A - Aho

W - Weinberger

K - Keninghan


Easy to implement and process.


BEGIN {
}

{

}

END {

}

In ns2, new trace format, there could be as many as 52 columns. Each column specify some parameters. Viewers are requested to go through these parameters through the documentation.

in aAWK,

$1 refers 1st column

$2 refers 2nd column and so on...


awk can be run using either of these commands

$] awk -f filename.awk filename.tr

or
$] gawk -f filename.awk filename.tr

Average throughput is done

You can download this source code in https://www.nsnam.com

Instant Throughput

with two values to plot the characteristics.

Residual Energy of the individual nodes AND ALSO THE AVERAGE RESIDUAL ENERGY OF ALL NODES.

We have seen four awk scripts

1. Average throughput

2. Instant throughput

3. Packet delivery ratio

4. Residual energy of a node.

Hope you enjoy my lecture.  It takes more time to learn and record.

Please share and subscribe to my channel






Download the source Codes here

https://drive.google.com/open?id=1W0rh2NHgOWMmE4Gx37YssWziRjVdtjM8


Subscribe to My YouTube Channels

Tech Channel

Travel Channel

1 comment:

  1. Thank you very much professor. Your teach very smooth way anyone can understand. Realy your video lecture very helpful for me. Sir, I need how to findout trust between multiple nodes please help me.

    ReplyDelete

Bottom Ad [Post Page]