在启动后,是否有任何工具限制进程的networking吞吐量? 简单的例子:你注意到一个用户使用scp获取所有的上传带宽,你想限制速度或者降低传输的优先级。 我想我可以使用iptables / tc或pf的组合来实现这一点,但我想知道是否有一个“一次性”工具可用(像涓stream与–pid选项^^)?
我被警告说我的服务器打破了它的传输限制。 我想我的Tor节点变得stream行起来,所以我select在这个月禁用它(不是社区的最佳select,但我需要下去)。 然后我注意到服务器今天晚上转移了大约4GB。 我已经用Awstats检查了Apache日志,没有相关的stream量(并且我没有在那里提供这么受欢迎的网站)。 我已经检查邮件日志,没有人试图发送垃圾。 我已经检查messages日志,发现吨这些 Apr 29 10:17:53 marcus sshd[9281]: Did not receive identification string from 85.170.189.156 Apr 29 10:18:07 marcus sshd[9283]: Did not receive identification string from 86.208.123.132 Apr 29 10:18:24 marcus sshd[9298]: Did not receive identification string from 85.170.189.156 Apr 29 10:18:39 marcus sshd[9303]: Did not receive identification string from 86.208.123.132 Apr […]
我需要限制带宽的使用,类似于一些ISP的做法,所以在几秒钟后,它会降低速度。