LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2016, 11:26 PM   #1
Sana Shaikh
LQ Newbie
 
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
Unhappy How to log/trace Mobile Node's Energy in ns2?


The command for logging Mobile Node's energy and movement, as per the manual is:
$mobilenode log-target target-object

What is trace-object in it and how to create it?
Or let me know, if there is some othe way to find out energy consumed by a node during movement?
Thanks.
 
Old 05-31-2016, 04:36 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
If I understand your question right, you (also) want to know how to find e.g. movement in a trace file ?
.... This document lists various trace formats used by ns2 :
" NS-2 Trace Formats " ...
http://www.grc.upv.es/Links/local/gr...2%20Traces.htm

----------------------

"-movementTrace" :
http://www.isi.edu/nsnam/ns/doc/node195.html

" $mac log-target <target-object> "
http://www.isi.edu/nsnam/ns/doc/node173.html


-

Last edited by knudfl; 05-31-2016 at 04:44 PM.
 
  


Reply

Tags
node, ns2, ns2-movement



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
optimizing node energy AODV in NS2 must Linux - Wireless Networking 1 03-31-2014 04:55 AM
Trace for energy Model in ns2.31 ines8989 Linux - Networking 5 01-30-2014 11:13 AM
Effect of speed variation on energy mobile node with ns2 abcd12 Linux - Networking 0 11-13-2013 12:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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