I would like to enable several queues to limit some types of traffic when the overall traffic level reaches a threshold. For example, I have a 10M internet service. Many devices download updates, backup data, etc. at various times. This can consume a large portion of the available bandwidth and slow down other traffic.
I'd like to experiment with some queues that are enabled when the overall traffic reaches a threshold - say perhaps 8M. At that point queues could be turned on that would limit/de-prioritize traffic large data transfers to/from 17.x (Apple), 15.x and 16.x (HP) or other ranges that could be deferred until a time when traffic levels are lower.
Is it possible for a script to check overall traffic levels on a designated port and then enable/disable queues? I have seen script commands to enable/disable queues. I've also seen scripts that enable queues at different times of the day, but I haven't seen scripts that work dynamically like this.
Any sample scripts available to use as a model?
Thanks much!