Hi,

 

The following is my code. I wish to start a process remotely and acquire
it's handle so I can communicate through this handle and send messages
to the process' queue.

 

28          STAFString command = "/u/hardikd/p4/proj/hammerChange/hammer
/u/hardikd/p4/proj/hammerChange/logs -filercore hardikd-vsim2 -runtime
60 -bg";

 29         STAFString request = "START SHELL COMMAND " +
STAFHandle::wrapData(command);

 30         cout << request << endl;

 31         STAFResultPtr result_hammer_start =
handle->submit("cyclvm10.rtp.netapp.com", "PROCESS", request);

 32         STAFString hammer_handle = result_hammer_start->result;

 

It doesn't seem to launch the Process :: the process doesn't show up
when I do >>ps ux.

 

Thanks,

 

Hardik.

<<image001.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