So you want a STAX job to be able to determine the machine that submitted
a STAX EXECUTE request? This is provided in a STAX Python variable named
STAXJobSourceMachine (contains the endpoint of the machine submitting the
EXECUTE request).
Note that section "STAX Variables" in the STAX User's Guide at
http://staf.sourceforge.net/current/STAX/staxug.html#Header_StaxVariables
describes the variables (such as STAXJobSourceMachine) that are set in
Python during Job Execution by the STAX service and that can be referenced
by your STAX job.
For example, if you wanted your STAX job to log this information:
<log message="1">
'Machine endpoint that submitted the STAX EXECUTE request is: %s' %
(STAXJobSourceMachine)
</log>
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: "Zhu, Cindy" <cindy....@ihs.com>
To: "staf-users@lists.sourceforge.net"
<staf-users@lists.sourceforge.net>,
Date: 12/20/2013 10:49 AM
Subject: [staf-users] Machine sending the STAF command
Hi,
I have multiple machines send STAF command to one testing machine to
launch STAX jobs.
How can I find out the machine name that sent the STAF command?
Thanks,
Cindy
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users