samadapter

Name

samadapter - used to control and monitor the end-to-end automation adapter. The adapter handles the communication between a System Automation for Multiplatforms domain and the System Automation Application Manager end-to-end automation server.

Synopsis

samadapter start

samadapter stop

samadapter status

samadapter help

Options

start
If the adapter is not running, the option start requests System Automation for Multiplatforms to start the adapter on the preferred node. The command returns when the request is submitted. If the adapter is not automated, it is started on the node where the request was sent. The exit code is 0 if the request was successful.
stop
If the adapter is running, the option stop requests System Automation for Multiplatforms to stop the adapter on the preferred node. The command returns when the request is submitted. If the adapter is not automated, it is stopped on the node where the request was sent. The exit code is 0 if the request was successful.
status
Checks if the adapter is running.
help
Writes the command’s usage statement to standard output.

Parameters

None.

Exit Status

To check the status of the samadapter, use the status option. It delivers the following return codes,
0
Unknown. The adapter status cannot be determined.
1
Online. The adapter is running.
2
Offline. The adapter is not running.

Security

This command requires root authority, or a user ID with appropriate permissions.

Examples

  1. To start the adapter, enter the following command:
    samadapter start
  2. To stop the adapter, enter the following command:
    samadapter stop

Files

/opt/IBM/tsamp/sam/bin/samadapter
Location of the samadapter command.