Run a command on the target

Specify a command to run on the target after profiling starts.

Before you begin

  • To allow Streamline to communicate with the target, install and run gatord on the target.

  • When you start gatord, you must use the -a option.

  • In the Start view, your device type must be TCP.

Procedure

  1. In the Start view, under Configure application, enter a command to run on the target.

  2. The command runs in the current working directory of gatord. To run the command in a different directory, enter the absolute path to that directory in the Working directory field.

  3. The command runs as the same user as gatord. For example, if gatord is run as root, the command runs as root. To run the command as a different user, enter the user account in the User name field.

  4. To stop the capture session when the command specified in the Command field ends, select Stop on exit. If you want the capture session to continue after the command ends, leave the checkbox clear.

Results

When you click Start capture, gatord runs the specified command on the target.