The sm_adapter command can be used to start an adapter. Common sm_adapter options describes the common sm_adapter options.

Table 1. Common sm_adapter options

Options

Description

--name=<name>

Specifies the name of the adapter.

--model=<name>

Specifies the name of model library to load.

--tail=<path>

Specifies read input by tailing a file.

--rserver=<name>

Specifies auto-reconnect parser to Manager.

--server=<name>

Specifies connect parser to Manager.

--broker=<location>

Specifies the alternate Broker location as host:port. Also -b <location>.

--output=<file>

Messages generated from internal logging calls are directed to the log file. The file name is <file>, or the --logname value if <file> is omitted. Log files are always placed in BASEDIR/smarts/local/logs.

--daemon

Run the SDK program as a daemon (UNIX only). Messages generated from internal logging calls are directed to the log file. Log files are written to the BASEDIR/smarts/logs directory.

--facility=<facility>

Instructs the DMT program to log any syslog messages with the specified syslog facility (UNIX/Linux only). The default is Daemon.

The <facility> setting can be one of the following:

  • Kern

  • User

  • Mail

  • Daemon

  • Auth

  • Lpr

  • News

  • Uucp

  • Cron

  • Local0

  • Local1

  • Local2

  • Local3

  • Local4

  • Local5

  • Local6

  • Local7

To display a complete list of the sm_adapter options on your system, type the following command with administrative privileges:

         
            BASEDIR/smarts
         /bin/sm_adapter --help