A PROCESS START request without the WAIT option specified returns the STAF handle number of the process started in the STAF result. For example:
C:\>STAF client1.company.com PROCESS START SHELL COMMAND "/test/test1.sh" Response -------- 806 The result, 806, is a string containing the STAF handle number for the process on machine client1.company.com. -------------------------------------------------------------- Sharon Lucas IBM Austin, [email protected] (512) 286-7313 or Tieline 363-7313 From: "Dedhia, Hardik" <[email protected]> To: <[email protected]>, Sharon Lucas/Austin/IBM@IBMUS Date: 07/06/2011 02:57 PM Subject: regarding STAF PROCESS START Hi, I am trying to use the staf Process Start service to start a program on a remote client. I wish to save the handle number which is returned, but, I’m facing some problems. Could you please help me to retrieve the handle number so I can use this to further communicate with that process. Thanks, Hardik.
<<image/gif>>
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
