The block element is a wrapper which defines a task for which execution
control is provided. You can wrap a <process> element within a <block>
element in a STAX job. Then, if you terminate the block that the process
is running in, STAX will submit a PROCESS STOP request to terminate the
process. Note that you can terminate a block via the STAX Monitor or via
a <terminate> element or by submitting a STAX TERMINATE request. See
section "block: Define a Task for which Execution Control is Provided" in
the STAX User's Guide at
http://staf.sourceforge.net/current/STAX/staxug.html#Header_Block. In the
"Usage" sub-section, examples of using a <block> element to wrap a
<process> element and of using the <terminate block="'YourBlockName'">
element to terminate a block are provided. For more information on the
<terminate> element, see section "terminate: Terminate a Block" in the
STAX User's Guide at
http://staf.sourceforge.net/current/STAX/staxug.html#Header_Terminate_Element
.
And/or, if you want to stop a process after a specified time period, you
can wrap the <process> element within a <timer> element. There's an
example in section "timer: Define a Task for which Time Control is
Provided" in the STAX User's Guide at
http://staf.sourceforge.net/current/STAX/staxug.html#Header_Timer
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Cindy Zhu <c...@fekete.com>
To: "staf-users@lists.sourceforge.net"
<staf-users@lists.sourceforge.net>
Date: 03/14/2011 11:58 AM
Subject: [staf-users] Killing a process on remote machines
Hi,
How can I kill a process on remote machines from a STAX job?
Thanks,
Cindy
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users