How can I achieve the following using python or bash?
iperf -s -B 234.5.6.7 -u -f m -i 1
- let the above command run for 5 seconds
- kill the above process (e.g.
killall iperf
)
iperf -s -B 234.5.6.8 -u -f m -i 1
- let the above command run for 5 seconds
- kill the above process (eg
killall iperf
)
- and so on...