srvctl status listener

Displays the status of listener resources.

Syntax and Parameters

Use the srvctl status listener command with the following syntax:

srvctl status listener [-listener listener_name] [-node node_name] [-verbose]

Table A-175 srvctl status listener Parameters

Parameter Description
-listener listener_name

Name of a listener.

If you do not specify this parameter, then the listener name defaults to LISTENER

-node node_name

Name of a cluster node.

Note: This parameter can be used only for Oracle Clusterware.

-verbose

Displays verbose output.

Example

To display the status of the default listener on the node node2, use the following command:

$ srvctl status listener -node node2