Lux, Jim (337K)
2018-04-14 18:22:05 UTC
Pdsh does most of what I want, but thereâs one thing that maybe it does (and Iâve not found it), or thereâs some clever way to do this..
What I would like is to have the console output from the N ssh sessions return to separate windows..
Pdsh does a nice job of bringing it all back to one place, but it would be nice to have it divided up.. Say youâre doing pdsh to fire off a sequence of apt-get, or ls or something like that which returns multiple lines.. â since each node runs at a different rate, the lines come back randomly interspersed.
$pdsh -w b0[1-4] âls -al /tmp/*â
Or
$pdsh -w b0[1-4] âecho temppwd | sudo -S apt-get update packageâ
I happen to be on a Mac, so there are apps like iTerm2 that apparently do this, but Iâd like a bit more generic (any *nix)
I see ClusterSSH in a google search, but havenât tried it yet. Apparently thereâs a flavor called csshX for Mac OS X
Any ideas?
What I would like is to have the console output from the N ssh sessions return to separate windows..
Pdsh does a nice job of bringing it all back to one place, but it would be nice to have it divided up.. Say youâre doing pdsh to fire off a sequence of apt-get, or ls or something like that which returns multiple lines.. â since each node runs at a different rate, the lines come back randomly interspersed.
$pdsh -w b0[1-4] âls -al /tmp/*â
Or
$pdsh -w b0[1-4] âecho temppwd | sudo -S apt-get update packageâ
I happen to be on a Mac, so there are apps like iTerm2 that apparently do this, but Iâd like a bit more generic (any *nix)
I see ClusterSSH in a google search, but havenât tried it yet. Apparently thereâs a flavor called csshX for Mac OS X
Any ideas?