Running a command on multiple cluster nodesWe have a script named clrun that you can use to run a command on all of the nodes on a cluster. The syntax is simple: first give it a command, then give it a list of machines to run the command on. For instance, if you wanted to create a directory and set the permissions on it on all nodes (except for node 1, it's special), you can run:
clrun "mkdir /tmp/gauss && chown tstrombe /tmp/gauss" all
If you wanted to run vmstat on nodes 1-4, you could type:
clrun vmstat 1 2 3 4
|