Where did you read that Fork Manager works badly with SSH?
About 18 months ago, I was working on a database backup tool that made heavy use of both Parallel::ForkManager and ssh. I did not see any problems with using the two together.
The basic algorithm was: (pseudo-code)
use Parallel::ForkManager; use Net::SSH::Perl; $pm = new Parallel::ForkManager(10); foreach my $server (@big_list) { my $pid = $pm->start and next; ssh('root@'.$server, '/opt/bin/some_backup_script'); $pm->finish; } print "All backups done";
In reply to Re: Parallel SSH
by chrestomanci
in thread Parallel SSH
by solaris7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |