Show quoted text>________________________________
> From: Stephen Powers via RT <bug-Net-OpenSSH-Parallel@rt.cpan.org>
>To:
>Sent: Thursday, September 25, 2014 1:56 AM
>Subject: [rt.cpan.org #99126] Output buffering
>
>
>Wed Sep 24 19:56:09 2014: Request 99126 was acted upon.
>Transaction: Ticket created by spowers@hostgator.com
> Queue: Net-OpenSSH-Parallel
> Subject: Output buffering
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: spowers@hostgator.com
> Status: new
>Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=99126 >
>
>
>When running commands against a large number of hosts that you're expecting
>to get a lot of output returned to stdout from each host, sometimes that
>output overlaps with other output.
>
Do you mean that the data from two hosts may appear intermixed in the output?
That's because of the way SSH works internally. It doesn't transfer data as lines but as chunks of data.
As a workaround you can set a filter on the output that buffers the data and only prints full lines. See...
https://github.com/salva/p5-Net-OpenSSH-Parallel/blob/master/sample/filter_output.pl