Server and client tools, depending on their purpose, might produce output. For example, the output of a ping tool indicates whether the ping completed successfully.

For client and server tools, you can configure whether a tool displays any output. When a server tool is configured to display output, the output is echoed to stdout and collected by the Global Manager. The Global Manager sends the output back to the console where the tool was invoked.

The output of server and client tools is displayed in the Tool Output window. The Tool Output window opens when the tool is invoked. Output is written to the window while the tool is running. If a tool produces an error, the error message is also displayed in the Tool Output window. If an error occurs for a server tool that is not configured to display output, the Tool Output window displays the return code of the tool.

Note:

If the SAM server is started by attaching the server to a broker address that is different from the one specified during SAM installation, then the SM_BROKER variable for the non-default broker must be specified in the local/conf/runcmd_env.sh file. If the SM_BROKER variable for the non-default broker is not specified, the server tool will not work as expected.

The Tool Output dialog box includes a Stop button. Client tools, such as shell scripts that do not respond to a SIGTERM signal will not stop when an operator clicks Stop. Create a client tool script that responds to a SIGTERM signal or manually stop the process from the command line or from the Task Manager.