LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-18-2019, 03:25 AM   #1
M.Aman
LQ Newbie
 
Registered: Feb 2019
Posts: 23

Rep: Reputation: Disabled
how to install ns2 trace analyzer on centos?


hi,

I have downloaded trace-analyzer-0.3.tar.gz. When I extract it i get the file trace-analyzer-2009-02-28. When I open it, it has different folders and a makefile. I have no idea how to install it or use it on my system. I have centos7 64-bit installed. Can somebody guide me with the appropriate commands and method to install it or use it?

I want to use this software to analyze my ns2 trace file.

TIA

Last edited by M.Aman; 03-18-2019 at 03:36 AM.
 
Old 03-18-2019, 05:36 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
I want to use this software to analyze my ns2 trace file
Why ? Did you find any documentation ? Any traces of success stories ?


Easy to build :
Code:
$ cd trace-analyzer-2009-02-28/
$ make
.... I can find questions "How does it work", but it seems nobody got it to work ?
https://www.google.com/webhp?hl=all&...zer-2009-02-28
https://sourceforge.net/p/trace-anal...read/8fc36bb3/

-
 
Old 03-19-2019, 12:16 AM   #3
M.Aman
LQ Newbie
 
Registered: Feb 2019
Posts: 23

Original Poster
Rep: Reputation: Disabled
Thanks Knudfl. No, unfortunately no success stories anywhere.I am struggling with finding a trace analyzer for ns2 to work on centos. I was trying my luck with this one.

While searching I found another one as well, https://nsvisualtraceanalyzer.wordpress.com/ , developed by Fernando Roacha. But he has it on wordpress and its private, one needs to get permission. I get this message,

This site is marked private by its owner. If you would like to view it, you’ll need permission from the site owner. Request an invite and we'll send your username to the site owner for their approval.

I have created an account and requested an invite, but still waiting.

Can you guide me here, if you know of any software that can successfully analyze the ns2 trace files? Any help will be appreciated. TIA
 
Old 03-19-2019, 05:19 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #3.

NS2-VisualTraceAnalyzer-0.2.72.zip
https://files.downloadnow.com/s/soft...zer-0.2.72.zip

Works with Windows© 7 ?
. https://www.nsnam.com/2012/10/ns2-vi...-analyzer.html


Other : jTrana https://sourceforge.net/directory/os...trace+analyzer
Example, (old) start command :
Code:
java  -Xms256m -Xmx320m -classpath ".:./lib/alloy.jar:./lib/gnujaxp.jar:./lib/jcommon-0.9.6.jar:./lib/jfreechart-0.9.21.jar:./lib/junit.jar:./lib/servlet.jar:./lib/mysql-connector-java-5.0.0-beta-bin.jar" src.main.jTrana

The usually preferred `trace file analyzing tool´ is "ns2 APP-Tool"
. http://mohittahiliani.blogspot.dk/20...-tool-for.html
. https://github.com/WiNG-NITK/APP-Tool
.... but it's currently not working with CentOS 7.
APP-Tool is meant for Debian and `Debian clones´ like Ubuntu.
You can run a Debian / Ubuntu OS in a VirtualMachine ... to use APP-Tool.
(You cannot build a functional ns2 in a VirtualMachine like VirtualBox or wmWare, but it can be useful for app´s like APP-Tool. Use CentOS for creating the trace files ... upload "out.tr" to the cloud. Download to the Virtual OS for analyzing.)

-
 
1 members found this post helpful.
Old 03-19-2019, 09:47 AM   #5
M.Aman
LQ Newbie
 
Registered: Feb 2019
Posts: 23

Original Poster
Rep: Reputation: Disabled
Thankyou Knudfl. I downloaded the ns2-APP-Tool you gave the link for, in Ubuntu. Installed the required libraries i.e. python-gi and python-matplotlib using the apt-get install command. Copied my trace file in ubuntu. Ran the app and was successfully able to analyze the trace file.

The App however does not calculate handoff delay. I also searched the awk scripts, but wasn't able to find one. Can someone guide me in this regard. TIA.
 
Old 03-19-2019, 10:06 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #5.

Searching for "handoff" in the ~240 ns2 analyzing scripts :
Code:
$ cd Awk+Perl_ns2-scripts-04.18/
$ grep handoff *.awk
$ grep handoff *.pl
                 .... Nothing ....
Link to Awk+Perl_ns2-scripts, and overview.txt
https://drive.google.com/drive/folde...7T?usp=sharing

Note : You can write a script yourself, and use it in APP-Tool.

-

Last edited by knudfl; 03-19-2019 at 10:07 AM.
 
1 members found this post helpful.
  


Reply

Tags
ns2, ns2 trace-analyzer-0.3, trace-analyzer-0.3



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
Web Analyzer/Syslog Analyzer fbexec Linux - Software 8 08-23-2012 09:47 AM
Sir, While installing ns2.34 on fedora 16 got the error : trace/cmu-trace.cc 1327:22 jeevanpinto Linux - Newbie 2 06-28-2012 03:35 AM
squid-log analyzer OR a good bandwidth analyzer isaaclw Linux - Server 5 06-16-2010 04:17 AM
"killed" Message - how to trace/back trace ebinjose Linux - Kernel 1 01-29-2008 06:12 AM
LXer: WebSphere Trace and Request Analyzer LXer Syndicated Linux News 0 03-28-2007 03:46 AM

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

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