Parallel predicate


Up: The tools Next: Parallel kill Previous: Parallel process find

This command uses a user-specified predicate to select which nodes to execute a user-specified command on.

 
 
    ppred nodespec predicate action 
For example, to find out on what processors in a 128 node system the file /tmp/myprog is not present, you can use (assuming csh is the shell)
 
 
    ppred 1-128 '\!-s /tmp/myprog' 'echo $hostname' 
(note the escape on the c-shell `not' symbol ! and the use of `...' to prevent premature evaluation of the predicate and action.


should make the predicate anything that test can execute.


test?



Up: The tools Next: Parallel kill Previous: Parallel process find