LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2016, 12:14 PM   #1
cage679
LQ Newbie
 
Registered: Apr 2016
Posts: 2

Rep: Reputation: Disabled
Leach protocol


How can I generate nam and xgraph for the leach on NS-2.35?
 
Old 04-28-2016, 02:24 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,139

Rep: Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855
Quote:
Originally Posted by cage679 View Post
How can I generate nam and xgraph for the leach on NS-2.35?
Read the "Question Guidelines" link in my posting signature. We'll be glad to help you with a specific problem, but you do have to show some effort of your own. What have you done/tried so far?

There is much in Google for "xgraph leach ns 2.35", with samples.
 
Old 04-28-2016, 04:32 PM   #3
cage679
LQ Newbie
 
Registered: Apr 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
I've worked with NS2 previously for simple MANET projects, and researched leach protocol on NS2, however most of answers found are confusing and others even imply that NAM does not support leach. I need to compare leach and leach-c. Can you give any pointers?
 
Old 05-03-2016, 06:24 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
NAM : Not supported by mannasim, leach, etc.

Xgraph plots :
$ xgraph leach.alive.txt
$ xgraph leach-c.alive.txt

INFO : About ns-2.35 + LEACH : Works with a 64bits OS only >>
>> http://www.linuxquestions.org/questi...-4175556129/#7

Converting **.alive to **.alive.txt : leach__nodes-alive.awk
>> http://www.linuxquestions.org/questi...-4175556129/#9

Build example http://www.linuxquestions.org/questi...4175556129/#11


-

Last edited by knudfl; 05-05-2016 at 04:11 PM.
 
Old 03-24-2017, 04:16 AM   #5
haitam09
Member
 
Registered: Jan 2015
Posts: 30

Rep: Reputation: Disabled
rserve slot time

Please can someone help me how to reserve the "free slots time" transmission to another node member or to CH in the same cluster in ns-leach-c.tcl by TCL.
Thank you very much in advances.
 
Old 03-24-2017, 07:32 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,815
Blog Entries: 13

Rep: Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875
Hi haitam09 and welcome to LQ.

Please note that you've re-opened a year old thread and I'm not sure your question is directly related to the original one. Either case, a possible different tactic here would have been to create a new question, but link to this or another question as a reference, as opposed to possibly confusing this existing, and long ago abandoned issue.

I feel that TB0ne's response in reply #2 is still applicable. Which is that you should read the question guidelines link from their signature. If you have disabled signatures, then you can access similar links by visiting the LQ Site FAQ which is also available on the right side menu of all LQ pages.

The main difference here is as opposed to performing a web search for the exact terms cited in their reply, you instead should substitute with terms applicable for the effort you are trying to do.

Please update the thread with further information about what you have tried on this topic and where you are stuck.

Remember that LQ members are not here to provide "on call" support. They are volunteers and also the way the LQ site works is that we are here to help you by way of guiding you towards a solution so you learn how to do these things independently in the future.
 
1 members found this post helpful.
  


Reply

Tags
leach ns235, 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
problem with running leach protocol in ns2.34 leach.er Mohamed69 Linux - Software 14 04-16-2018 07:10 AM
how to implement a LEACH protocol using ns-2.30? Srihk Linux - Newbie 13 02-11-2015 10:03 AM
improve leach protocol khoshkalam Linux - Networking 1 05-04-2012 06:58 AM
Leach protocol anitha.r.u Linux - Newbie 16 04-02-2012 04:37 AM
protocol leach ezzati Linux - Newbie 5 05-03-2011 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 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