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.
tcpreplay -i eth1 --pktlen -p3200 -l10 Sample.pcap
上面是我正在使用的命令,我需要以良好的速度重播数据包,但我还需要它在下一轮之前休息大约 20 秒
简单的小shell脚本:
#!/bin/bash i=0 while [ $i -lt 10 ]; do tcpreplay -i eth1 --pktlen -p 3200 Sample.pcap i=$(($i + 1)) sleep 20 done