LinuxQuestions.org
Visit Jeremy's Blog.
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


Closed Thread
  Search this Thread
Old 05-26-2015, 07:34 AM   #1
zakizakizaki
LQ Newbie
 
Registered: Apr 2015
Posts: 19

Rep: Reputation: Disabled
Struggling to make something that seems really simple .. (ns2)


Hi,
I want to to do a condition in my TCL script to check if the incoming traffic rate is higher than the link bandwidth in order to detect a possible congestion. I don't know how to that condition line. Can anybody help?

OR alternatively:

making a condition in TCL script in witch i have to verify if the number of packets in a link queue has reached a certain threshold so i can prevent a possible congestion in that link. Can someone provide me with the code for that? Thanks.
Either way my goal is just to implement a simple solution to detect congestion.

Thanks in advance smile emoticon
 
Old 05-29-2015, 05:21 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,607

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


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 add a simple protocol into ns2.34? huangguanglun Ubuntu 2 09-30-2014 09:55 AM
ns2 Simple MAC protocol modification for adding primary users in cognitive radio MahmoudAlaa Programming 9 07-23-2014 03:00 AM
Make command not found in ns2.34 and ns2.29 Aska123 Linux - Software 11 04-09-2013 11:58 AM
Struggling to make LFTP work jdw52 Linux - Software 2 06-04-2009 07:45 AM
How do I make a simple script and make it run on bootup?? coolblue Programming 5 12-18-2006 09:55 PM

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

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