sm_adapter basic options shows the options which enable you to name the adapter and control which Broker, MODEL library, and port the adapter uses.

Table 1. sm_adapter basic options

Option

Description

--broker=<location>

Alternate Broker location as host:port. Also -b <location>.

--model=<model>

Name of MODEL library to load. Also -M <model>.

--name=<name>

Start a server registered under <name>. Also -n <name>.

--port=<xxxx>

Alternate registration port. Use with --name.

--timeout=<secs>

Set the timeout for server interaction. The timeout applies to the back end connection except when using the subscriber front end, in which case it applies to the front end. The argument is in seconds, and can be a decimal value. If the --timeout option appears with no value, 600 seconds is used. By default, there is no timeout.

--wait

Wait for initial driver to complete.

Other sm_adapter options describes additional sm_adapter options.

Table 2. Other sm_adapter options

Option

Description

--accept=<host-list>

Accept connections only from hosts on host-list, a comma-separated list of hostnames and IP addresses. You can also specify any instead of host-list to allow any host to connect. Default: --accept=any.

--daemon

Run process as a daemon.

--errlevel=<level>

Specify the minimum level at which error events are written to the standard error output. Possible values include: none, emergency, alert, fatal, critical, error, warning, notice, informational, debug. The default is warning. (Note that fatal is equivalent to emergency, alert, or critical.)

--help

Print help and exit.

--loglevel=<level>

Specify the minimum level at which event messages are written to the system logging facility. Possible values include: none, emergency, alert, fatal, critical, error, warning, notice, informational, debug. The default is error. (Note that fatal is equivalent to emergency, alert, or critical.)

--logname=<name>

Specify the name used to identify the SDK program in the system log. On UNIX systems, the default is the program name.

--output[=<file>]

Messages generated from internal logging calls are directed to a log file. Log files are written to the BASEDIR/Smartss/logs directory. If <file> is not specified, the value of --logname is used.

If a log file with specified name already exists, it is moved to a backup file, BASEDIR/Smartss/local/logs/<file>.bak. If the backup file already exists, it is deleted.

--tracelevel=<level>

Specify the minimum level at which a process stack trace is written to the standard error output. Possible values include: none, emergency, alert, fatal, critical, error, warning, notice, informational, debug. The default is fatal. (Note that fatal is equivalent to emergency, alert, or critical.)

--version

Print program version and exit.