[Beowulf] Pdsh output to multiple windows

Tina Friedrich tina.friedrich at it.ox.ac.uk
Mon Apr 16 08:08:47 PDT 2018


I was going to say clusterssh.

I think I've used that with up to 30 nodes simultaneously (multiple screens, 
so they were readable).

(What I've actually used it most for is not as such ssh sessions, but IPMI 
consoles; given it allows to define the ssh command, that was easy to set up, 
and having something run serial consoles to multiple nodes with a window each 
and the possibility to interact with all of them I found really quite useful 
at times.) 

Tina

On Sunday, 15 April 2018 21:48:51 BST Rob Taylor wrote:
> I have used clusterssh many times. (should be in the ubuntu repository).
> 
> It is dependent on xwindows, as it just spawns xterms and copies the
> input stream to all the windows simultaneously. csshx on the mac works
> similarly, but with the osx terminal app instead.
> 
> It sounds like clusterssh will do what you are looking for.
> 
> Be careful how many you do, your screen can get quite cluttered once you
> get over 10 sessions going.
> 
> rgt
> 
> On 4/14/18 2:22 PM, Lux, Jim (337K) wrote:
> > 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?
> > 
> > 
> > 
> > _______________________________________________
> > Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing
> > To change your subscription (digest mode or unsubscribe) visit
> > http://www.beowulf.org/mailman/listinfo/beowulf


-- 
Tina Friedrich, Snr HPC Systems Administrator, Advanced Research Computing
Research Computing and Support Services, Academic IT 
IT Services, University of Oxford 
http://www.arc.ox.ac.uk


More information about the Beowulf mailing list