Difference between revisions of "Unimore PLE/Docs/Tools/Multiquery"

From Web
Jump to navigation Jump to search
(Created page with '<accesscontrol>luser</accesscontrol>')
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<accesscontrol>luser</accesscontrol>
 
<accesscontrol>luser</accesscontrol>
 +
 +
Multiquery syntax is quite simple, just issuing
 +
 +
<i>multiquery 'command1; command2; command3 &'</i>
 +
 +
will execute command1, command2 and, in the background, command3 (thanks to the '&' parameter).
 +
<br>Another example, if you want to create a directory called "test" on the remote nodes, issue
 +
 +
<i>multiquery 'mkdir test'</i>
 +
 +
Or, if you need to kill a process that you started remotely on all the nodes, you can try
 +
 +
<i>multiquery 'pkill processName'</i>
 +
 +
work in progress

Latest revision as of 14:29, 2 November 2009

<accesscontrol>luser</accesscontrol>

Multiquery syntax is quite simple, just issuing

multiquery 'command1; command2; command3 &'

will execute command1, command2 and, in the background, command3 (thanks to the '&' parameter).
Another example, if you want to create a directory called "test" on the remote nodes, issue

multiquery 'mkdir test'

Or, if you need to kill a process that you started remotely on all the nodes, you can try

multiquery 'pkill processName'

work in progress