Tag Info

New answers tagged

1

You suffer from pipe buffering. Usually output to non interactive terminal is buffered to 4Kb blocks until delivered via pipe, so you have to disable it. You could alter your command line like this: $ stdbuf -oL ping 10.1.10.28 | perl -ne '$|=1; /time=(\d+\.\d+)/ && print "$1\n"' > file stdbuf is part of coreutils. $|=1; is the way to ...


0

About the only thing you can do is verify that the hardware on your end isn't the source of the potentially faulty hardware. As it states in that quote: ...often indicate broken hardware somewhere in the ping packet's path... So any piece or hardware or wiring could be faulty between you and the destination. So this would mean there could be a faulty ...



Top 50 recent answers are included