LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Identify bandwidth shaping on an interface (https://www.linuxquestions.org/questions/linux-networking-3/identify-bandwidth-shaping-on-an-interface-4175428765/)

popecrob 09-24-2012 06:49 AM

Identify bandwidth shaping on an interface
 
I'm using Wondershaper to shape traffic on a single interface (eth2). I have a script wich runs in every minutes and deciding to set or remove shaping from that interface. My only problem is that I cannot identify that eth2 is allready shaped or not, so wondershaper set the shape by (wondershaper eth2 down up/wondershaper clear eth2) in every minute to shape or not (is this problem?). I'm avoid to write a file to store the interfaces shaping status. So if its possible, please tell me how to identify shaping on that interface.

Thanks!

nini09 09-24-2012 02:52 PM

You can use "tc" tool to get traffic shaping status.


All times are GMT -5. The time now is 03:00 AM.