We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've run into a case where pdsh is truncating results.
First a file with many lines.
$ dd if=<(yes) of=yes.out count=421083 ibs=1 $ wc yes.out 210541 210542 421083 yes.out
$ ssh server 'cat yes.out' | wc 210541 210542 421083 $ pdsh -N -R ssh -w roadrun1pa 'cat yes.out' | wc 210542 210542 421084
Now a file with one line, but many chars. $ tr '\n' '~' < yes.out > bigyes.out $ wc bigyes.out 0 1 421083 bigyes.out
$ ssh server 'cat bigyes.out' | wc 0 1 421083 $ pdsh -N -R ssh -w roadrun1pa 'cat bigyes.out' | wc 16 16 131184
Trivial example I know, but I do have a use case where I'm trying to pull back data that has one line with 421083 chars.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've run into a case where pdsh is truncating results.
First a file with many lines.
$ dd if=<(yes) of=yes.out count=421083 ibs=1
$ wc yes.out
210541 210542 421083 yes.out
$ ssh server 'cat yes.out' | wc
210541 210542 421083
$ pdsh -N -R ssh -w roadrun1pa 'cat yes.out' | wc
210542 210542 421084
Now a file with one line, but many chars.
$ tr '\n' '~' < yes.out > bigyes.out
$ wc bigyes.out
0 1 421083 bigyes.out
$ ssh server 'cat bigyes.out' | wc
0 1 421083
$ pdsh -N -R ssh -w roadrun1pa 'cat bigyes.out' | wc
16 16 131184
Trivial example I know, but I do have a use case where I'm trying to pull back data that has one line with 421083 chars.
The text was updated successfully, but these errors were encountered: