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

From Web
Jump to navigation Jump to search
 
Line 9: Line 9:
  
 
<i>multiquery 'mkdir test'</i>
 
<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
 
work in progress

Latest revision as of 15: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