New answers tagged


A simple way to do this would be to create a bash script and use some network bandwidth tool, there are many options to check bandwiwdth/traffic (bmon, nload, etc) on your server. In that script, after you found the current total bandwidth, put a statement like: if threshold reached: shutdown myWebApp # kill the service   And then once you have ...

Top 50 recent answers are included