LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-22-2012, 07:51 AM   #46
guo
LQ Newbie
 
Registered: Jul 2012
Posts: 10

Rep: Reputation: Disabled

Quote:
Originally Posted by knudfl View Post
# 44


Different from what ? ?
You see it is the out.tr of smac in the attachment, and it is the typical trace file, so I can use AWK language to analysis it easily.


The out.tr which caused by ns simZMAC.tcl is big up to 648.1Mb,what't worse I can not open it in my XP system.
Attached Thumbnails
Click image for larger version

Name:	未命名.JPG
Views:	17
Size:	94.9 KB
ID:	10182  
 
Old 07-22-2012, 07:53 PM   #47
guo
LQ Newbie
 
Registered: Jul 2012
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 36

Testing with the "ns-2.26-ZMAC" :

cd ns-allinone-2.26/ns-2.26/zmacTcl/
./ns-zmac simZMAC.tcl -numsources 3 -zmacMode 1 -interval 10 -sinknode 83 -valuefile salida.tr -maxX 300 -maxY 300 -nn 84 -ack 0 -to 3 -tno 6 -timeSyncErrorFlag 0 -timeSyncErrorValue 100

The reply is
Code:
Setting slot size to 0.001124
num_nodes is set 84
.. and two trace files are created : out.tr , salida.tr

.
please tell me what should I do after out.tr and salida.tr?Thank you .
 
Old 07-27-2012, 05:08 AM   #48
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
# 46
Quote:
The out.tr which caused by ns simZMAC.tcl is big up to 648.1Mb
./ns-zmac simZMAC.tcl -numsources 3 -zmacMode 1 -interval 10 -sinknode 83 -valuefile salida.tr -maxX 300 -maxY 300 -nn 84 -ack 0 -to 3 -tno 6 -timeSyncErrorFlag 0 -timeSyncErrorValue 100

Scientific Linux SL6, first time with the above command:
( 15 May 2012, see post #46 in the other zmac tagged thread.)
I got out.tr 1.3 MB, salida.tr 111 bytes.

CentOS 6, today : out.tr 6.7 MB, salida.tr 37 bytes.

Ubuntu 10.10, today : out.tr 6.4 MB, salida.tr 38 bytes.

.

Last edited by knudfl; 07-28-2012 at 06:38 AM.
 
Old 07-27-2012, 07:53 PM   #50
guo
LQ Newbie
 
Registered: Jul 2012
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 46

./ns-zmac simZMAC.tcl -numsources 3 -zmacMode 1 -interval 10 -sinknode 83 -valuefile salida.tr -maxX 300 -maxY 300 -nn 84 -ack 0 -to 3 -tno 6 -timeSyncErrorFlag 0 -timeSyncErrorValue 100

Scientific Linux SL6, first time with the above command:
( 15 May 2012, see post #46 in the other zmac tagged thread.)
I got out.tr 1.3 MB, salida.tr 111 bytes.

CentOS 6, today : out.tr 6.7 MB, salida.tr 37 bytes.

Ubuntu 10.10, today : out.tr 6.4 MB, salida.tr 38 bytes.

.
the salida.tr and out.tr of my simulation in ubuntu10.04 are 3.8Kb and 5.8Mb respectively.

Last edited by guo; 07-27-2012 at 07:54 PM.
 
Old 07-28-2012, 08:53 AM   #51
guo
LQ Newbie
 
Registered: Jul 2012
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 46


./ns-zmac simZMAC.tcl -numsources 3 -zmacMode 1 -interval 10 -sinknode 83 -valuefile salida.tr -maxX 300 -maxY 300 -nn 84 -ack 0 -to 3 -tno 6 -timeSyncErrorFlag 0 -timeSyncErrorValue 100

Scientific Linux SL6, first time with the above command:
( 15 May 2012, see post #46 in the other zmac tagged thread.)
I got out.tr 1.3 MB, salida.tr 111 bytes.

CentOS 6, today : out.tr 6.7 MB, salida.tr 37 bytes.

Ubuntu 10.10, today : out.tr 6.4 MB, salida.tr 38 bytes.

.
Is it on the conditions that agentTrace on ,routerTrace on and mactrace off?could you give me your Email?or you can give me a email ,my address is jiangsu216@gmail.com.
 
  


Reply

Tags
ns-2.26, ns2, ns226, zmac


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
ns2.34 installation help in Ubuntu 10.10 xptional Ubuntu 44 02-20-2015 07:26 AM
Problems in Installation of NS2.27 on Ubuntu 9.10 Scofield Linux - General 7 03-15-2013 03:47 AM
installation of ns2.1b5 on ubuntu? shanky Linux - Software 3 03-12-2012 11:46 PM
ns2.29 installation in ubuntu bolmeteus Ubuntu 4 02-08-2011 01:46 PM

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

All times are GMT -5. The time now is 07:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration