forall h in 1 .to. 100 try for 10 minutes scp node$h:bigfile bigfile.$h end end
However, one hundred simultaneous copies may be more than the system
can handle. Perhaps the network switch cannot keep up with all one hundred
machines blasting at once. Perhaps the collecting machine has a limit
on the number open sockets or file handles. Such limits are likely to
differ from place to place. Modify the fault tolerant shell
to adapt at run-time to the parallelism available in the current system.
Caution: Make sure that your solution can adapt to a wide variety
of jobs and conditions.
Bibliography: Load Control in Operating Systems and Networks