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,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   "Dedhia, Hardik" <hardik.ded...@netapp.com>
To:     <staf-users@lists.sourceforge.net>, 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
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to