Skip Menu |

This queue is for tickets about the Net-OpenSSH-Parallel CPAN distribution.

Report information
The Basics
Id: 99126
Status: rejected
Priority: 0/
Queue: Net-OpenSSH-Parallel

People
Owner: Nobody in particular
Requestors: spowers [...] hostgator.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Output buffering
Date: Wed, 24 Sep 2014 18:55:59 -0500
To: bug-Net-OpenSSH-Parallel [...] rt.cpan.org
From: Stephen Powers <spowers [...] hostgator.com>
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.
Subject: Re: [rt.cpan.org #99126] Output buffering
Date: Thu, 25 Sep 2014 04:33:29 -0700
To: "bug-Net-OpenSSH-Parallel [...] rt.cpan.org" <bug-Net-OpenSSH-Parallel [...] rt.cpan.org>
From: Salvador Fandino <sfandino [...] yahoo.com>
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