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! |
You can use "tc" tool to get traffic shaping status.
|
All times are GMT -5. The time now is 03:00 AM. |