From dblank at brynmawr.edu Mon Oct 3 10:49:26 2005 From: dblank at brynmawr.edu (Douglas S. Blank) Date: Mon Oct 3 10:49:31 2005 Subject: [Beowulf] dispatch command updated Message-ID: <434144F6.8060407@brynmawr.edu> Beowulf users, Just a short note on a new dispatch command. It replaces the old dispatch and pdispatch commands. It works as follows. dispatch [[flags]* [includes]* [excludes]*]* [command]+ The flags: -p run in parallel -d debug mode. don't actually do anything, just print out what it would do -r report format (output all on one line per node) -c add color to output -u allow duplicate node numbers The [includes] and [excludes] are either a single node number, a range, or a list: singles: dispatch 2 4 6 7 uptime range : dispatch 1-48 uptime list : dispatch 2,3,4 uptime includes are given by a positive prefix or none, excludes by a negative prefix. The set of nodes is built up in a left-to-right order. dispatch 1-48 -10-20 15 uptime This example will add all of the nodes, remove 10-20, and then add back in 15. The old version: dispatch 1 48 -i 29,35,48 ls -al The new version: dispatch 1-48 -29,35,48 ls -al Other examples: dispatch -p -r 1 2 3 10-20 -15 30-40 -25 uname -a -- Douglas S. Blank, Assistant Professor dblank@brynmawr.edu, (610)526-6501 Bryn Mawr College, Computer Science Program 101 North Merion Ave, Park Science Bld. Bryn Mawr, PA 19010 dangermouse.brynmawr.edu