gpt4 book ai didi

linux - 如何限制 Linux 中程序的网络带宽?

转载 作者:太空宇宙 更新时间:2023-11-04 05:55:01 25 4
gpt4 key购买 nike

在 Linux 中,如何限制程序(进程)的网络带宽?例如,我想将 a.out 的网络带宽限制为 20 Mbps。非常感谢您抽出时间。

最佳答案

您可以尝试使用 trickle :

trickle -u 2500 -d 2500 a.out

关于linux - 如何限制 Linux 中程序的网络带宽?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50415374/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com