The sm_adapter command starts ASL scripts. The file sm_adapter is found in BASEDIR/smarts/bin. Adapters can receive information from files and send output to a file or to the screen. To run most of the sample scripts found in this guide, use this syntax:
sm_adapter --file=<input_file> <ASL_script_file>
The command starts an adapter that runs a user-supplied script <ASL_script_file>, reading data from the file, <input_file>.
Chapter 7, Running Adapters, provides additional information about the sm_adapter command.