User`s guide

Using ECM Commands
Running ECM from the Command Line
C-2
Enterprise Configuration Manager
User’s Guide
Using ECM Commands
ECM commands require information such as model names and model type
handles, which you retrieve through the Command Line Interface (CLI)
commands. Therefore, unless you are an experienced CLI user, do not attempt
to run ECM with the commands in this appendix.
To run ECM from the command line:
1. Make sure the SpectroSERVER is up and running.
2. Navigate to the directory where the ECM command is located. See the
Location category under each command.
3. To check the syntax of a CLI command, go to the directory where the
command is located and type the first word of the command. Or in any
directory, type the complete pathname along with the command.
To see the syntax of an ECM command (for example, load, verify, or
capture), in the <ECM directory>/bckgrnd> directory, use the
following syntax:
ecmbg -f command
For example:
ecmbg -f capture
or
/usr/data/Spectrum/ecm/bckgrnd/ecmbg -f capture
4. Use CLI to find the input information required by the command.
5. Enter the command in the format described in this appendix or in the
command line description. If commands require a data file, create a file
with the information required. Use the following format for the file:
*vnmsocket: 0xbeef
*DefaultTimeout: 100000
*EcmPath: /usr/data/Spectrum/ecm
*EcmLogFile: /usr/data/Spectrum/ecm/log/ecmbg.log
*ModelHandles: 0x6801eb, 0x6801ae, 0x680029
*ConfigHandles:
*DeviceHandles: (used only with -ds argument)