Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 mininet 模拟器上的 python 程序员新手,我尝试创建连接到单个服务器并生成并行连接流的主机,我唯一得到的是
for i in n: h=netobgect.get("h%s"%i) h.cmdPrint("iperf -c 10.0.0.1 ")
host 1 和 say n/2 之间有延迟的问题会破坏并行的含义,有没有人可以帮助我,我正在寻找解决方案
而不是for循环,只需串行调用它,但我需要我的代码动态使用调度命令AT但带来问题
使用 & 在后台运行命令。
for i in n: h=netobgect.get("h%s"%i) h.cmdPrint("iperf -c 10.0.0.1 &")