Unbuffered stdout #1337
-
I invoke
Note that And the output differs depending on the network speed. When To make the issue even more interesting, when I run from a tty:
It always prints the network speed, regardless of whether the connection is fast or slow. This makes me think that I use the following
Unfortunately, I'd have to stick to it unless there is a self-contained binary of a newer |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Some |
Beta Was this translation helpful? Give feedback.
-
What I ended up doing is actually two things:
Apparently, the buffering problem is not there anymore. |
Beta Was this translation helpful? Give feedback.
What I ended up doing is actually two things:
iperf3
, it's3.10
(compiling it from source from the official website, Linux build), andawk
. Now I readiperf3
output directly viafgets
and parse the text on my own.Apparently, the buffering problem is not there anymore.