Query Options
Use the query options command to display all or part of your options and their current settings that are relevant to the command-line client.
![Mac OS X operating systems](ngmacosx.gif)
![Windows operating systems](ngwin.gif)
![Oracle Solaris operating systems](ngsolaris.gif)
![Linux operating systems](nglinux.gif)
![AIX operating systems](ngaix.gif)
Supported Clients
This command is valid for all clients.
Syntax
Parameters
- pattern
- An optional character string that can include wildcards. Use this argument to specify a subset of options. The default is to display all options.
Option | Where to use |
---|---|
![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
Examples
- Task
- Display all options and their values.
query options
- Task
- Display only options that begin with comm.
query options comm*
- Task
- Display the value of the replace option.
query options replace
- Task
- Issue the command to display all options and their values. The failover status information is
displayed.
query options
Output:MYPRIMARYSERVERNAME: SERVER1 MYREPLICATIONSERVER: TARGET REPLSERVERNAME: TARGET Address: 192.0.2.9 Port: 1501 SSLPort: 1502 GUID: 39.5a.da.d1.ae.92.11.e2.82.d3.00.0c.29.2f.07.d3 Used: yes