# Natural Access parameter display: ctaparm

Use this utility to view selected parameter definitions and values stored in shared memory. Refer to Managing parameters for more information.

#### Usage

ctaparm [options]

where options are:

Option | Use this option to...
--- | ---
-e | Display the names of all parameter structures.
-s structnames | Display all parameters in the listed structures.
-f fieldnames | Display all parameters matching the listed field names.
-g | Generate a parameter file from the current values.
-l cfgfile | Specify the configuration file defining services to initialize.

#### Description

If ctdaemon is running, ctaparm reads parameters stored in system shared memory and displays them on the screen. If ctdaemon is not running, ctaparm displays the compile-time defaults. Use the command line to specify the parameters to retrieve.

#### Procedure

To run ctaparm, enter the following command at the prompt:

ctaparm [-e -s structlist -f fieldlist -g]

The lists generated by the -s and -f options are delimited by the + (plus) character. For example:

ctaparm -s adi.play+adi.record
ctaparm -f gain+dtmfabort

Note: The error CTAERR_ALREADY_INITIALIZED indicates that ctaparm is using a different configuration file than ctdaemon. The file used by ctaparm lists services in the [ctasys] section that are not loaded by ctdaemon. Both ctaparm and ctdaemon load \nms\ctaccess\cfg\cta.cfg by default. (For UNIX, the path is /opt/nms/ctaccess/cfg/cta.cfg.)