iperf
iperf copied to clipboard
Better daemon mode
On https://iperf.fr/iperf-servers.php, the suggested script has a lot of lines like this:
/usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5200 -D >/dev/null 2>&1
So this writes all output (and errors) to /dev/null. That isn't a good idea as you have no idea what iperf3 is doing. It would be better that if -D was specified, that output was written to syslog instead.
Plus, the rest of script has a bunch of killall stuff that is suggested to run hourly (!). Is there really a chance that iperf3 requires a -9 kill? If it could hang up like that, that would seem to be a bug. Or is this page out of date?
If I submitted a pull request with syslog output if -D is specified, would that be something that would be considered?