LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2015, 12:08 PM   #1
Rizwanamalek
Member
 
Registered: Jan 2015
Posts: 56

Rep: Reputation: Disabled
Error in LEACH awk file


Hi i am using Leach protocol in ns2.34 in centos. for any file it gives me no data recived. how can i solve this problem? "sar means send recive ratio file"
Code:
[root@localhost ns-allinone-2.34]# awk -f Faulttolerance.awk MKDSCFout.tr
cbr s:286 r:0, r/s Ratio:0.0000, f:0 
[root@localhost ns-allinone-2.34]#
Code:
[root@localhost ns-allinone-2.34]# awk -f sar.awk MKDSCFout.tr
PacketDelivery Ratio:0.0000 
[root@localhost ns-allinone-2.34]#
 
Old 11-24-2015, 11:52 PM   #2
doanhapro
LQ Newbie
 
Registered: Nov 2015
Posts: 8

Rep: Reputation: Disabled
I have installed leach and leach-c protocol but how to plot graph from leach.alive, leach.energy and leach.data file......
And how to calculate network lifetime and remaining energy for both leach and leach-c protocol.
 
Old 11-25-2015, 12:37 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@doanhapro : Welcome to LQ.

You have some duplicate posts today. Not allowed, sorry.
And please don't do that again.

LQ Rules http://www.linuxquestions.org/linux/rules.html
>>> Do not post the same discussion multiple times.


-
 
  


Reply

Tags
leach, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
invalid command"Resource/Energy" in leach.err file of exidus-pegasis-leach-patch2 flowing_river Linux - Software 0 03-16-2015 06:44 PM
Leach patch file installation test error Manjunath G Linux - Newbie 0 07-08-2014 11:44 AM
error in LEACH.ERR file jeevanpinto Linux - Newbie 0 07-25-2012 05:59 AM
awk error awk: line 2: missing } near end of file boscop Linux - Networking 2 04-08-2012 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration