The execute command sample demonstrates how to execute a command on an agent. The Notepad application will be launched on the specified agent. No output will be captured, and the command will be run asynchronously on the system.
The sample provided is an implementation of server/console code executing a command on a remote agent. You can build the sample by using the included makefile. Details on building and running the sample are included in readme.txt . The file can be found in the samples\javasrc\com\BobCo\procman directory.
Details about the execute command API class can be found in com.tivoli.twg.procman.api.ExecuteCommandAPI.
This sample does the following: