srvctl getenv listener

Gets the environment variables for the specified listener.

Syntax and Parameters

Use the srvctl getenv listener command with the following syntax:

srvctl getenv listener [-listener listener_name] [-envs "name_list"]

Table A-69 srvctl getenv listener Parameters

Parameter Description
-listener listener_name

Listener name

If this parameter is not specified, the name of the listener defaults to LISTENER

-envs "name_list"

Comma-delimited list of the names of environment variables

If this parameter is not specified, then the values of all environment variables associated with the listener are displayed.


The following example lists all environment variables specified for the default listener:

$ srvctl getenv listener