I am trying to start iperf server in background and redirect the output to a file. But it is not working.
server:
iperf3 -s -D >> /tmp/listen.txt
or
iperf3 -s -D > listen.txt
client:
iperf3 -c <server-ip> -B <client-ip> > send.txt
I am able to see output in send.txt on client but on server, I don't see anything being written in any file. Can someone help me with this command?