Re: [staf-users] concurrent access to write a file in a "paralleliterate"

2014-08-25 Thread Luca Robusto
x27;re referring to using the STAF Log service to log information > to a STAF log file (e.g. such as the STAX User Log file), the STAF Log > service manages concurrent writing to STAF log files. > > ------ > Sharon Lucas > IB

[staf-users] concurrent access to write a file in a "paralleliterate"

2014-08-25 Thread Luca Robusto
I have a STAX Paralleliterate with 10 thread with functions in python to write log on a file. I don't manage the concurrent writes, but logs are written in a "safe" way anyway. Who manages this concurrency in the right way in the STAX Engine? Thanks. -

[staf-users] Need to integrate STAX Job inside Jenkins

2014-07-16 Thread Luca Robusto
Hi all, I need to execute STAX Job integrating them inside Jenkins. I need to execute the Job with STAX Monitor enabled, to view the Monitor during real time execution. Which is the CLI command to run an XML File with the Stax Monitor opened? Thanks. Luca ---

[staf-users] STAX Monitoring from CLI

2013-12-03 Thread Luca Robusto
Hi all, I was looking a way to execute a STAX Job from CLI and at the same time, open the Monitor and show the Monitoring situation. I can execute the job from CLI with the command: staf local stax execute file c:\start.xml wait returnresult I could also avoid to use STAF and execute directly fr

[staf-users] Fwd: get actual filename

2013-11-20 Thread Luca Robusto
I found by myself the STAXCurrentXMLFile VARIABLE. Thanks all! Luca. -- Forwarded message -- From: Luca Robusto Date: 2013/11/20 Subject: get actual filename To: "staf-users@lists.sourceforge.net" Hi all, is there a way to get the actual xml filename during a s

[staf-users] get actual filename

2013-11-20 Thread Luca Robusto
Hi all, is there a way to get the actual xml filename during a stax script execution? It would be good a python way or a STAX VAR. Thanks. Luca. -- Shape the Mobile Experience: Free Subscription Software experts and deve

[staf-users] global variables in paralleliterate

2013-11-14 Thread Luca Robusto
Hi all, I have this piece of code. I expect the variable "listOfServersContainingVdisks" to be appendend with all the servername of the paralleliterate according to the last lines of code. Instead, I am returned only the last assignment of the paralleliterate loop, so that it will contain just the

Re: [staf-users] Show the process execution on destination machine

2013-10-07 Thread Luca Robusto
> Sharon Lucas > IBM Austin, luc...@us.ibm.com > (512) 286-7313 or Tieline 363-7313 > > > > > From:Luca Robusto > To:Techno Scavenger , > Cc:"staf-users@lists.sourceforge.net" < > staf-users@lists.source

Re: [staf-users] Show the process execution on destination machine

2013-10-07 Thread Luca Robusto
I understood the problem. If STAF executes as a service and not in the startup execution I cannot see graphically the tools I launch via start process command. It's the same fow Windows and Linux too. Is there a workaround for this? I need STAF executed as service, but I need to launch benchmar

Re: [staf-users] Show the process execution on destination machine

2013-10-05 Thread Luca Robusto
Great it may be very useful for me! And on linux machine? How can I see running tools on target machine monitor? Il 06/ott/2013 07:39 "Techno Scavenger" ha scritto: > In Windows you have to enable auto login so that the star process can > interact with the UI. > --

Re: [staf-users] Show the process execution on destination machine

2013-10-05 Thread Luca Robusto
> cmd > > > > > > ------ > Sharon Lucas > IBM Austin, luc...@us.ibm.com > (512) 286-7313 or Tieline 363-7313 > > > > > From:Luca Robusto > To:staf-users@lists.sourc

[staf-users] Show the process execution on destination machine

2013-10-04 Thread Luca Robusto
Hi all, I have a Windows 2008 R2 Server Monitor machine on which Stax in running and Staf is not a service process but executed manually. All target machines runs Staf as a service and they are CentOS 6.4 and Win2008R2 Server. Is it possible to make staf requests from Monitor Machine so that the

Re: [staf-users] append a script file to command line

2013-10-01 Thread Luca Robusto
then. For example: > > > 'local' > 'c:\\iometer\\iometer.exe c:\\config.icf > c:\\result.csv' > 'c:\\empty.txt' > > > > > ------ > Sharon Lucas > IBM Austin, lu

Re: [staf-users] append a script file to command line

2013-10-01 Thread Luca Robusto
> > > For more information on the STDIN option, see section "8.13 Process > Service", sub-section "8.13.2 START", in the STAF User's Guide at > http://staf.sourceforge.net/current/STAFUG.htm#HDRPROCSRV. > >

Re: [staf-users] append a script file to command line

2013-09-30 Thread Luca Robusto
I had just to add mode="'shell'" in the command definition. Sorry and thank you! 2013/9/30 Luca Robusto > Hi, I need to append a script file which just contains a y and return > character to accept the first question I get from command line when > executing

[staf-users] append a script file to command line

2013-09-30 Thread Luca Robusto
Hi, I need to append a script file which just contains a y and return character to accept the first question I get from command line when executing a command. My process is: 'local' '%s -X -n %s -p ' % (rssdcliWin,driveId) redirectYesAnswerToaFile where: rssdcliWin='C:\\Program Files\\R

[staf-users] tags for documentation

2013-09-24 Thread Luca Robusto
Is it possible to auto produce documentation in terms of API for STAX functions implemented by me? I was imaging something like tags to introduce to explicit fuctions name, parameters, return value and if possible add personal tags to add to function specification. Is there something already devel

[staf-users] Interactive shell scripts

2013-09-18 Thread Luca Robusto
Is it possible to interact with windows/linux shell interactive commands without scripting statically? E.g. execute "parted" command under linux shell and later dinamically choose commands to execute(if possibile based on first shell output)? Regards. Luca R. --

Re: [staf-users] Gettitng error in loop

2013-08-19 Thread Luca Robusto
List vs Lists? Il giorno 19/ago/2013 13:20, "Sandeep" ha scritto: > Hi > > I am using the STAX XML for my project. I am using script tag to run my > python script. In the script itselef I have declared some variable which I > am using in the loop. But I am getting error in the loop. I am not able

Re: [staf-users] Number of Passes and Failed TC

2013-07-09 Thread Luca Robusto
ult > > > > [totalTests, totalPasses, totalFails] = totals > > > 'Total Testcases: %s, Total Passes: %s, Total Fails: > %s\nTestcases: %s' % \ >(totalTests, totalPasses, totalFails, testcases) > > >

[staf-users] Number of Passes and Failed TC

2013-07-08 Thread Luca Robusto
Is there a variable which traces number of passes or failed testcases, so as we see them on the Stax Monitor, or I have to implement my own one? Luca. -- This SF.net email is sponsored by Windows: Build for Windows Store.

Re: [staf-users] stafloop

2013-06-21 Thread Luca Robusto
Try to add the row: 172.52.133.33 172.52.133.33 to your host file. By default STAF tries to resolve a ip address first as a name, and after 20 errors retries resolves it as an IP address. Setting the host file of your system in couple of ip address - ip address you force to resolve a string to

Re: [staf-users] signal handlers on a separate file

2013-06-10 Thread Luca Robusto
Sorry if sometimes I miss some important things from STAF or STAX user guide. Your suggests are always very precious for me. Thanks. Regards. Luca Robusto. Il giorno 10/giu/2013 17:55, "Sharon Lucas" ha scritto: > The import element (and the function-import element) only imp

[staf-users] signal handlers on a separate file

2013-06-10 Thread Luca Robusto
I would like to write a STAX File containing all the signal handlers I need. In the STAX syntax I cannot import this file if not in a STAX function, is it right? If I import it in a function my thread doesn't see the signal handler created. My example is the following: main xml: This is

[staf-users] STAXImportError Signal

2013-05-29 Thread Luca Robusto
When I write STAX Script and inside I use the < operator for Python variable comparison I get STAXImportError error: "The content of elements must consist of well formed character data or markup. How can I sove this? Regards. Luca. -

[staf-users] staf behind proxy

2013-05-15 Thread Luca Robusto
Is it possible to execute remote STAF Requests behind a proxy server? How can I setup this configuration? Luca. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essen

[staf-users] I/O permission problem on Windows Machine

2013-05-08 Thread Luca Robusto
I have a problem on a Windows Machine. When I try to write a file on a Windows Directory I get a STAXPythonEvaluationError with IOError:(13, Permission denied.) The same script works good on a Linux Machine. Any experience about this? I am administrator on the Windows Machine, and directory is

[staf-users] python error execution without terminating Job

2013-05-03 Thread Luca Robusto
Is it possible not to termine a Job in Stax when a python error occurs (E.g. not declared or initialized variables) ? Luca. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool

[staf-users] log to file and testcase info

2013-04-15 Thread Luca Robusto
I would like to log all that I see on the Job Monitor to a txt file too. Is there a STAF command to redirect message by message (in real time) all the output to a file too? At the moment I use a STAX function that I wrote by myself to do this, but I trust there is a integrated way to do this in the

Re: [staf-users] issue performance

2013-03-26 Thread Luca Robusto
I solved mapping the same couple of ip address in hosts file(e.g 192.168.1.100 192.168.1.100 192.168.1.200 192.168.1.200 ) You are alwats very helpful. Greatest thanks Luca Robusto. Il giorno martedì 26 marzo 2013, Sharon Lucas ha scritto: > Some possibilities of why the STAF ping performa

[staf-users] issue performance

2013-03-26 Thread Luca Robusto
he FAQ. Many thanks and best regards, Luca Robusto -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to ge

[staf-users] execute flle script command from command line

2013-03-19 Thread Luca Robusto
Is it possible to run a process in STAF tipying from command line actions that should be contained in a file row by row? Luca. E.G. the shell command diskpart /s script.txt can become a STAF command where the rows contained in script.txt are executed by command line or in a STAX script? Luca.

[staf-users] staf RC vs Process RC under STAX SCRIPT

2013-03-15 Thread Luca Robusto
I am having doubt in how to get RC about staf execution or process execution called by staf "process start". How can I get the second RC about the process called? Luca. -- Everyone hates slow websites. So do we. Make you

[staf-users] process on monitor with staf as service

2013-02-11 Thread Luca Robusto
Hy. I am here to write again to have help on STAF. I launch STAF/bin/STAFPROC as service becouse I need it without whe Windows or Linux login. In this way I cannot launch the batch startstafproc, so I have to set manually environment variabiles. If I execute staf in this way, and I try to execute N

[staf-users] problem launching staf as a service executing local request

2013-02-01 Thread Luca Robusto
When I launch staf as Service on a Windows machine ( launching it as a service means I do not need login to operate on the machine) I cannot later execute local staf request using that machine. What can I do to solve this? I am afraid this is a problem related to environment variables, but in the s