Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As knudfl told me some people use awk in this forum when they are working with ns2 traces, I've found three useful files, made by Marco Fiore some years ago. They help you to calculate the average throughput, the instant throughput and the jitter in a simulation. I've used them with umts. Changing parameters you check, you can see the flow of one, several or all the mobiles you are simulating and diferent types of packets. Just read the readme
I found them here: http://www.mail-archive.com/ns-users.../msg04656.html
I edit: Some people at University were having problems calculating the total flow using that script. I only made two changes, but I post the orginal file with my little changes here because it may help someone.
I'm glad you find it useful
This forum is wonderful. I've never been in a forum before and I am very grateful to these people that help you just because they want to and in their free time. Great people here!
So not to be too picky but on having a quick look through the code there is a variable called 'pkt' which is never set / initialised and it is used in an if and a
mod (which will error):
Code:
if ((level == "AGT") && (event == "r") && (node_id >= min ) && (node_id <= max) && (pkt_size >= pkt) && (pkt_name == "AM_Data")) {
# Rip off the header
hdr_size = pkt_size % pkt
Seeing as this 'if' does most of the heavy lifting I am not sure how the results are accurate or the script even works.
I try with umts_am1movil.tcl and I have the trace file
but I don't understand how the result should be ???
I want to see your result
I hope that you can help me
I try with umts_am1movil.tcl and I have the trace file
but I don't understand how the result should be ???
I want to see your result
I hope that you can help me
@mounaboug: Please don't re-open old threads unless you have something specific to add to that discussion. There's no guarantee that the participants in this thread are even around any more, much less watching it for changes.
Since your question appears to have little to do directly with this topic, start a new thread for it. You can link back to this one if you feel it has any direct relevance.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.