Menu

#3 fping output does not feed into pipes well

open
nobody
None
5
2008-02-11
2008-02-11
No

if you fping uphost downhost | cat
Where uphost is a fine host and downhost is a downed host, the output will hang until the downhost output returns.

Adding an fflush(stdout) after every printf( "\n" ); in fping.c makes this work as expected.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB