da *nix forums beginner
Joined: 23 Feb 2005
Posts: 28
|
Posted: Wed Feb 23, 2005 8:43 pm Post subject:
db2_all with muliple commands
|
|
|
Hi All,
Suppose, I have a command like the following one.
db2_all '<<-0<|| db2 list applications; db2 terminate '
Now, Would the commands inside the single quotes run parallel on all
the nodes?
ie, I want "db2 list applications; db2 terminate" to run on all the
nodes in parallel. If the above syntax is not correct, how would I
achieve this? How, do I verify the commands are issued to all the
nodes?
I don't want just to run "db2 list applications" in parallel on all the
nodes and "db2 terminate" on each node in sequence.
Thanks. |
|