tag:blogger.com,1999:blog-2676809952989108356.post6702545355279684461..comments2023-11-18T12:43:53.208+05:30Comments on Mohit P. Tahiliani: Few more AWK Scripts for NS2Mohit P. Tahilianihttp://www.blogger.com/profile/12307336778318863317noreply@blogger.comBlogger293125tag:blogger.com,1999:blog-2676809952989108356.post-72669032287892474162018-04-25T01:31:55.393+05:302018-04-25T01:31:55.393+05:30hi sir,,,,
i am working in ns-aqua-el6 .....
est...hi sir,,,,<br /><br />i am working in ns-aqua-el6 .....<br /><br />established three file of DBR , VBF , VBVA deployed 60 nodes as shown given below:<br /><br /><br />https://drive.google.com/open?id=1Zv...ekTasu6ZzgULrm<br /><br />i want to get parameters results of awk file download from your link ie "top 20 awk"<br /><br />https://drive.google.com/file/d/0B7S...hMdFNyQU0/view<br /><br />but many of them are not working.<br /><br />I want to get parameters files for thease below...<br /><br /><br />throughput<br />PDR<br />E2E delay<br />residual energy<br />packet drop<br /><br />above are not working giving errors please help me to resolve this problem.......DeepakJustonehttps://www.blogger.com/profile/12869355575480359218noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-64275314295434181252017-04-21T12:06:39.322+05:302017-04-21T12:06:39.322+05:30Sir, I want to know what is the error in this thro...Sir, I want to know what is the error in this throughput file<br /><br />BEGIN {<br /> recvsize=0;<br /> starttime=500;<br /> stoptime=0;<br />}<br />{<br />event=$1;<br />time=$2;<br />node_id=$3;<br />pkt_size=$8;<br />level=$4;<br />if(level=="RTR" && event=="s" && pkt_size>=512)<br />{<br />if(time=512)<br />{<br />if(time>stoptime)<br />{<br />stoptime=time;<br />}<br />}<br />hdr_size=pkt_size%512;<br />pkt_size-=hdr_size;<br />recvsize+=pkt_size;<br />}<br />END {<br />printf("start time=%.2f",starttime);<br />printf("stoptime=%2f",stoptime);<br />printf("average throughput=%.2f",(recvsize/(stoptime-starttime))*(8/1000));<br />}<br /><br />when i am trying to run this awk file it is showing BEGIN {<br />^ invalid char '<br /><br />Sir, please replyAnonymoushttps://www.blogger.com/profile/00028451686659346816noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-22609360843790620182016-04-25T18:31:48.209+05:302016-04-25T18:31:48.209+05:30After executing the tcl file of my program, the na...After executing the tcl file of my program, the nam file is not displaying. I try to run nam file directly with the command nam output.nam but it shows me the following error:<br /><br />Cannot connect to existing nam instance. Starting a new one...<br />*** !!! ***<br />nam cannot recognize the trace file PREVENTION_BLACK_HOLE.nam<br />Please make sure that the file is not empty and it is a nam trace<br /><br />Please help!Anonymoushttps://www.blogger.com/profile/13110517364309656067noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-79296096546767424172016-04-06T10:51:14.135+05:302016-04-06T10:51:14.135+05:30hi mohit when i see trace for puma there are no CB...hi mohit when i see trace for puma there are no CBR packets in AGT for receiver only TCP what could be the reaso .please helpKapila Pareekhttps://www.blogger.com/profile/16877965748273891121noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-57524482507258511192016-01-25T20:20:17.330+05:302016-01-25T20:20:17.330+05:30hello Sir!
can any one help me please to implemen...hello Sir!<br /><br />can any one help me please to implement an algo to prevent from intrusion on tcl using ns2 its a kind of intrusion detecttion system based on energy , so we need to set an amount of energy required if an intrusion demand more , we must claim it and stop the requesting node! tnx in advance !?<br /><br />waitiing for ur replay sir !Anonymoushttps://www.blogger.com/profile/06176160763685732133noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-28350549981162647862015-05-19T13:18:24.304+05:302015-05-19T13:18:24.304+05:30@Anvika - AODV is just an unicast protocol. Multic...@Anvika - AODV is just an unicast protocol. Multicast AODV (MAODV) is another variant of AODV which is a multicast protocol.<br /><br />First you need to patch MAODV in your machine and then carry on with the project. Sample TCL files for AODV are available in the default package of ns-2 and those of MAODV are available in the patch itself.<br /><br />Hope it helps.<br /><br />Regards,<br />Mohit P. TahilianiMohit P. Tahilianihttps://www.blogger.com/profile/12307336778318863317noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-45985498147222116052015-05-19T11:06:54.115+05:302015-05-19T11:06:54.115+05:30hi...my project contain comparison of aodv and NCM...hi...my project contain comparison of aodv and NCMR protocol(for unicast and multicast network) in terms of four parameters like energr,sdr,packet loss,end to end delay...will u please send me tcl script and c++ code for aodv unicast & multicast which giving parametrs with respective to BERanvikahttps://www.blogger.com/profile/02429053719346892129noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-19618536996714318802015-04-03T19:49:26.326+05:302015-04-03T19:49:26.326+05:30@Kuljit - I have not worked on HybridMAC and moreo...@Kuljit - I have not worked on HybridMAC and moreover, haven't come across any such code as well. So could not assist you much on this!<br /><br />@Devaki - Check within the AWK Script whether "if" conditions match your requirements or not. If not, please change them as you need and try again.<br /><br />Hope it helps.<br /><br />Regards,<br />Mohit P. TahilianiMohit P. Tahilianihttps://www.blogger.com/profile/12307336778318863317noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-57951441191608609882015-04-03T19:46:54.972+05:302015-04-03T19:46:54.972+05:30@Richa Goyal - The FSR patch for ns-2 can be downl...@Richa Goyal - The FSR patch for ns-2 can be downloaded from the following link:<br /><br />http://fsr-routing.sourceforge.net/<br /><br />Give the following command to plot multiple ".xg" files using xgraph:<br /><br />xgraph file_1.xg file_2.xg . . . file_n.xg<br /><br />Hope it helps.<br /><br />Regards,<br />Mohit P. TahilianiMohit P. Tahilianihttps://www.blogger.com/profile/12307336778318863317noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-64761969932750155272015-03-31T11:10:31.674+05:302015-03-31T11:10:31.674+05:30Hello Sir
please provide me FSR source code in ns...Hello Sir<br /><br />please provide me FSR source code in ns2 and how to draw xgraph for more than one xg files on a single graph to compare the values for different protocol.<br /><br />please tell me how to do that<br /><br />RegardsAnonymoushttps://www.blogger.com/profile/13438612532477060089noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-49058786264620292472015-03-22T19:00:14.157+05:302015-03-22T19:00:14.157+05:30hello Mohit i use e2edelay awk but i get output as...hello Mohit i use e2edelay awk but i get output as-<br />devki@ubuntu:~/Desktop/raushan$ awk -f e2edelay.awk out.tr<br /><br /><br />Average End-to-End Delay = -nan ms<br /><br />what is going thsi please help meDEVKI NANDANhttps://www.blogger.com/profile/11637654394325650451noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-91066396884460793852015-01-22T20:57:15.459+05:302015-01-22T20:57:15.459+05:30hello sir, im trying to find tcl script for Hybrid...hello sir, im trying to find tcl script for HybridMAC protocol that is needed to run in wireless Ad hoc networks environment by using ns2..do u have any idea where i can find suitable script?plz help me...how can i change the script according to my parameters?Anonymoushttps://www.blogger.com/profile/16073129971268609319noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-64334133469148894552014-12-24T12:23:46.863+05:302014-12-24T12:23:46.863+05:30@Khushbu Patel - May be the following blog post ma...@Khushbu Patel - May be the following blog post may help you:<br /><br />http://mohittahiliani.blogspot.in/2010/08/xgraph-and-awk-scripts-in-ns-2_06.html<br /><br />Hope it helps.<br /><br />Regards,<br />Mohit P. TahilianiMohit P. Tahilianihttps://www.blogger.com/profile/12307336778318863317noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-14298485272807259962014-12-13T16:07:24.936+05:302014-12-13T16:07:24.936+05:30HI sir i am working on cygwin terminal for NS2.how...HI sir i am working on cygwin terminal for NS2.how i can run the awk file and plot the xgraph.my mail id:khushbu.patel116@gmail.comAnonymoushttps://www.blogger.com/profile/11758132436751604146noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-56580782212929450932014-10-31T13:11:40.127+05:302014-10-31T13:11:40.127+05:30@Angel - This means that genthroughput.awk is not ...@Angel - This means that genthroughput.awk is not available in the same folder where you are giving the awk command.<br /><br />@Shruti Bhavi, Surbhi and Ayan Dey - You can try getting the same by using the Automated Post Processing (APP) Tool which we have designed recently. Following is the link: http://mohittahiliani.blogspot.in/2014/10/automated-post-processing-app-tool-for.htmlMohit P. Tahilianihttps://www.blogger.com/profile/12307336778318863317noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-27945287318584497232014-10-07T17:24:02.724+05:302014-10-07T17:24:02.724+05:30plzzzzz sir reply as soon as possible thx
plzzzzz sir reply as soon as possible thx<br />angelhttps://www.blogger.com/profile/09573444961207888839noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-45106629654377793092014-10-07T17:06:45.271+05:302014-10-07T17:06:45.271+05:30hello sir
I m working on ns2.35 ubuntu 12.04
when ...hello sir<br />I m working on ns2.35 ubuntu 12.04<br />when i try to use awk script for genthroughput, instant jitter, e2e delay using command <br />awk -f filename.awk ns.trc >aodv.xg <br />then it always show that<br />awk: cannot open genthroughput.awk(No such file or directory)<br />bt it works fine for pdf (pdf and other scripts are in the same folder)<br />plz help me sir <br />thanx angelhttps://www.blogger.com/profile/09573444961207888839noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-50064525463706892412014-04-04T22:25:40.750+05:302014-04-04T22:25:40.750+05:30Hello sir,
I am doing my project in ns 2.34, so ca...Hello sir,<br />I am doing my project in ns 2.34, so can you please mail me the awk script for calculating the average residual energy of the nodes in the network. I tried on my own but didn't get correct results, i request you to mail, my mail-id:-<br /> shrutibhavi@gmail.comAnonymoushttps://www.blogger.com/profile/00201192314945731161noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-65290690863856815552014-04-04T12:28:51.984+05:302014-04-04T12:28:51.984+05:30Hi,
Can I get the awk script for energy consumptio...Hi,<br />Can I get the awk script for energy consumptionSurbhihttps://www.blogger.com/profile/07962436951666853096noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-67246857886062154632014-04-01T20:03:00.219+05:302014-04-01T20:03:00.219+05:30hi sir,
can you plz tell me how to get output ...hi sir,<br /> can you plz tell me how to get output for delay,throughput,packet delivery ratio in new trace file format.Because while evaluating these values i got some problem.I think that if i run my program in new trace file format then it will be helpfull.Would u plz help me?<br /><br />ayan Ayanhttps://www.blogger.com/profile/15529320962409687982noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-51630291593178891332014-03-28T14:13:57.536+05:302014-03-28T14:13:57.536+05:30Hello Sir Mohit,
I used your genthroughput.awk o...Hello Sir Mohit,<br /><br />I used your genthroughput.awk on my wireless trace file (old format) but I am getting this:<br />Average Throughput[kbps] = -0.00 StartTime=7.67 StopTime=0.00<br />packet size is set to 512. Trae file sample is as follows:<br />s 7.668618722 _1_ AGT --- 0 cbr 512 [0 0 0 0] ------- [1:0 2:0 32 0] [0] 0 16777215<br />r 7.668618722 _1_ RTR --- 0 cbr 512 [0 0 0 0] ------- [1:0 2:0 32 0] [0] 0 16777215<br />s 7.668618722 _1_ RTR --- 0 AODV 48 [0 0 0 0] ------- [1:255 -1:255 30 0] [0x2 1 1 [2 0] [1 4]] (REQUEST)<br />s 7.668733722 _1_ MAC --- 0 AODV 106 [0 ffffffff 1 800] ------- [1:255 -1:255 30 0] [0x2 1 1 [2 0] [1 4]] (REQUEST)<br />s 7.718652679 _1_ AGT --- 1 cbr 512 [0 0 0 0] ------- [1:0 2:0 32 0] [1] 0 16777215<br />r 7.718652679 _1_ RTR --- 1 cbr 512 [0 0 0 0] ------- [1:0 2:0 32 0] [1] 0 16777215<br />I am not getting the error. Kindly help.<br />dpiworldhttps://www.blogger.com/profile/05703328323519972329noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-52000376371286745312014-03-21T12:22:43.231+05:302014-03-21T12:22:43.231+05:30hii mohit
i am calculating residual energy and c...hii mohit <br /><br />i am calculating residual energy and comparing performance between aodv and aomdv routing protocol. how to patch awk file in these two routing protocol?? please send me reply if anyone having the code ....my mail id - soumyasahoo22@gmail.com<br /> Anonymoushttps://www.blogger.com/profile/17437022335917417849noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-19193356384938427362014-03-18T23:01:42.073+05:302014-03-18T23:01:42.073+05:30hello sir.. i am doing project in NS2, performence...hello sir.. i am doing project in NS2, performence evalution of AODV and DSR routing protocals using TCL and AWK script. To generate throughput and delay graph for the wireless simulation(AODV & DSR).<br /><br />plz sir could u give me an example and some materials for standard topology bcz i want to see how can i comparison of two protocals (AODV and DSR).<br /> <br />plz sir help me as soon as possible.<br /><br />My ID is asna.amu@gmail.comamithhttps://www.blogger.com/profile/12639033773443462406noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-41801697977868963932014-01-13T19:13:55.376+05:302014-01-13T19:13:55.376+05:30Hello sir
when I run script e2edelay with leach.tr...Hello sir<br />when I run script e2edelay with leach.tr <br />following error occur<br /><br />awk: e2edelay.awk:91: (FILENAME=leach.tr FNR=376077) fatal: division by zero attempted<br /><br />please reply<br />Rohinihttps://www.blogger.com/profile/06504550427566444993noreply@blogger.comtag:blogger.com,1999:blog-2676809952989108356.post-64136949341904142432013-12-12T23:33:20.370+05:302013-12-12T23:33:20.370+05:30sir i got error in e2edelay.awk when i generate gr...sir i got error in e2edelay.awk when i generate graph throughput --> delay.... in aodv protocol. i got the value of throughput...but can't get e2edalay value...Chiraghttps://www.blogger.com/profile/03697271624212590804noreply@blogger.com