Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Generic Broadcast SSH Launcher

by QM (Parson)
on Nov 19, 2013 at 11:02 UTC ( [id://1063310]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $host (@hosts) {
        $pssh->add_host($host, user => $user);
    ...
    
    $pssh->push('*', 'command', { stderr_to_stdout => 1 }, $cmd );
    $pssh->run;
    
  2. or download this
    %) net.pl -c uptime kermit fozzy
    kermit)  10:49:37 up 3 days, 21:38,  0 users,  load average: 1.00, 1.0
    +1, 1.05
    fozzy)   10:49:37 up 6 days, 21:08,  0 users,  load average: 1.00, 1.0
    +1, 1.05
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1063310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-25 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found