LinuxQuestions.org
Review your favorite Linux distribution.
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 01-18-2015, 01:02 PM   #1
Zahraa Ayad
LQ Newbie
 
Registered: Dec 2014
Posts: 19

Rep: Reputation: Disabled
Getting the remaining energy in nodes in ns2


How can i get or calculate the remaining energy in each node during the simulation in ns2? (using TCL only, not by using C++)...
i want to pass it to a variable and use it through my tcl code.
Can you help me?
 
Old 01-19-2015, 09:44 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,187

Rep: Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064
Quote:
Originally Posted by Zahraa Ayad View Post
How can i get or calculate the remaining energy in each node during the simulation in ns2? (using TCL only, not by using C++)...
i want to pass it to a variable and use it through my tcl code.
Can you help me?
Yes, we can help you. Post the code that YOU have written, and tell us where you're stuck. We will be happy to assist, but we're not going to write code for you.
 
  


Reply


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
How to set different energy levels to different nodes in ns2 pon Linux - Newbie 3 05-03-2019 07:45 AM
ns2 code to deploy nodes, assign initial energy values and divide into grids reshmaj Linux - Newbie 4 04-15-2017 09:49 AM
how to set different energy level to different nodes in ns2 Aska123 Linux - Software 0 02-17-2014 02:44 PM
Energy.awk required to compute remaing energy of nodes. Aska123 Linux - Wireless Networking 2 02-02-2014 02:31 AM
Remaining Battery Energy/Lifetime Detection Siva4Linux Linux - Laptop and Netbook 4 12-19-2006 04:47 AM

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

All times are GMT -5. The time now is 01:49 AM.

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