Previous | Contents | Index |
The SHOW CHANNEL command shows the names and state of channels that have been opened using the CLI API.
SHOW CHANNEL [channel-name]
Command Qualifiers | Defaults |
---|---|
/ALL_WINDOWS | /NOALL_WINDOWS |
/CLUSTER | /NOCLUSTER |
/NODE[=node-list] | /NODE=default-node |
/OUTPUT[=filespec] | /OUTPUT=stdout |
The SHOW CHANNEL command shows the channel type (client or server), the channel name and owner process-id for channels opened using the CLI API.
channel-name
Specifies the name of the channel to be displayed. channel-name can contain wildcards. If channel-name is omitted, all declared channels for this window (terminal or virtual terminal) are displayed.
/ALL_WINDOWS
/NOALL_WINDOWS
Specifies that channels opened in all windows (terminals or virtual terminals) are shown./CLUSTER
/NOCLUSTER (D)
Specifies that the command is executed on all the nodes in the cluster.If neither /NODE nor /CLUSTER is specified, the command is executed on the nodes specified by the latest SET ENVIRONMENT command. If no SET ENVIRONMENT command has been entered, the command is executed only on the node where the command was issued.
Note
In environments that do not support clustering, the /CLUSTER qualifier causes the relevant command to be executed on the local node only./NODE[=node-list]
/NODE=default-node (D)
Specifies that the command is executed on all nodes specified in node-list . If node-list is omitted, the command is executed only on the node where the command was issued./OUTPUT[=filespec]
/OUTPUT=stdout (D)
Specifies that the resulting information is written to the file filespec . If /OUTPUT or filespec is omitted, the standard or default output is used.
RTR> SHOW CHANNEL/ALL_WINDOWS (1) Channel type Channel name (Owner pid) server RTR$DEFAULT_CHANNEL (28879) (2) client CLI_CHN (28879) (3) client CLI_CHN2 (26225) (4) |
The SHOW CLIENT command displays information about client channels.
SHOW CLIENT
Command Qualifiers | Defaults |
---|---|
/CLUSTER | /NOCLUSTER |
/FACILITY[=facility_name] | /FACILITY="*" |
/FULL | None |
/IDENTIFICATION=process-id | /NOIDENTIFICATION |
/NODE[=node-list] | /NODE=default-node |
/OUTPUT[=filespec] | /OUTPUT=stdout |
The SHOW CLIENT command displays information about client channels.Information such as PID, key range, state, event mask and event name are displayed.
/CLUSTER
/NOCLUSTER (D)
Specifies that the command is executed on all the nodes in the cluster.If neither /NODE nor /CLUSTER is specified, the command is executed on the nodes specified by the latest SET ENVIRONMENT command. If no SET ENVIRONMENT command has been entered, the command is executed only on the node where the command was issued.
Note
In environments that do not support clustering, the /CLUSTER qualifier causes the relevant command to be executed on the local node only./FACILITY
/FACILITY="*" (D)
Specifies the facility name for which information should be displayed.By default, information is displayed for all facilities.
/FULL
none (D)
Specifies a detailed listing of client information./IDENTIFICATION=process-id
/NOIDENTIFICATION (D)
Specifies the PID of the process for which information is displayed. The default (/NOIDENTIFICATION) displays information for all clients./NODE[=node-list]
/NODE=default-node (D)
Specifies that the command is executed on all nodes specified in node-list . If node-list is omitted, the command is executed only on the node where the command was issued./OUTPUT[=filespec]
/OUTPUT=stdout (D)
Specifies that the resulting information is written to the file filespec . If /OUTPUT or filespec is omitted, the standard or default output is used.
RTR> SHOW CLIENT/FULL (1) Process-id: 9234 Facility: TEST43 (2) Channel: 500 Flags: CLI (3) State: declared rcpnam: "V3TEST" (4) User Events: 255 RTR Events: 0 (5) |
The SHOW DISPLAY command shows which items were displayed by the most recently issued MONITOR command or DISPLAY commands.
SHOW DISPLAY
Command Qualifiers | Defaults |
---|---|
/ALL | /NOALL |
/OUTPUT[=filespec] | /OUTPUT=stdout |
/X[=column] | Column of previous item |
/Y[=row] | Next free row |
The SHOW DISPLAY command shows which items were displayed by the most recently issued MONITOR command. These may have been read in from a display file using the MONITOR filespec command, or entered interactively using DISPLAY commands.The item definitions are shown in DISPLAY command format. Use the command SHOW DISPLAY/OUTPUT= filespec to create new monitor files.
/ALL
/NOALL (D)
Specifies that all monitored items are shown./OUTPUT[=filespec]
/OUTPUT=stdout (D)
Specifies that the resulting information is written to the file filespec . If /OUTPUT or filespec is omitted, the standard or default output is used./X=column /Y=row
Specifies that the single item in position ( column , row ) is shown.
RTR> MON CALLS (1) RTR> SHOW DISPLAY/ALL (2) DISPLAY TEXT "RTR api calls, Node: $node_name ,- (3) PID: $process_id, Process name: -ALL-" - /X=1 /Y=1 - /BOLD="1" . . . DISPLAY NUMERIC "rtr_open_channel_succ" - /X=1 /Y=5 - /BLANK - /LABEL=" rtr_open_channel " - /WIDTH=9 . . . |
See Section A.1, Interactive Definition of a Monitor Picture, for an example of how to use the SHOW DISPLAY command.
The SHOW ENVIRONMENT command shows the default nodes used for remote command execution.
SHOW ENVIRONMENT
The SHOW ENVIRONMENT command shows which nodes are used by default for remote command execution.
RTR> SET ENVIRONMENT/NODE=(FE2,FE3) (1) RTR> SHOW ENVIRONMENT (2) %RTR-S-COMARESEN, commands sent by default to node FE2 (3) %RTR-S-COMARESEN, commands sent by default to node FE3 |
The SHOW FACILITY command shows the names, configuration, and status of one or more facilities.
SHOW FACILITY [facility-name]
Command Qualifiers | Defaults |
---|---|
/BALANCE | /NOBALANCE |
/CLUSTER | /NOCLUSTER |
/CONFIGURATION | /NOCONFIGURATION |
/COUNTER[=counter-name] | /NOCOUNTER |
/FULL | /NOFULL |
/LINKS/BRIEF | /NOLINKS/NOBRIEF |
/NODE[=node-list] | /NODE=default-node |
/OUTPUT[=filespec] | /OUTPUT=stdout |
/STATE | /NOSTATE |
The SHOW FACILITY command shows the names, configuration and status of facilities on the node where the command is executed. If no qualifiers are used, only the facility name or names and the roles in the facility on the node are displayed.
facility-name
Specifies the name of the facility you want to display. Facility-name may contain wildcards (* and %), in which case all matching facilities will be displayed. If facility-name is omitted, all configured facilities are displayed.
/BALANCE
/NOBALANCE (D)
Specifies that the load balancing status of the facility is also displayed. See Section 2.7, Router Load Balancing for details of load balancing./CLUSTER
/NOCLUSTER (D)
Specifies that the command is executed on all the nodes in the cluster.If neither /NODE nor /CLUSTER is specified, the command is executed on the nodes specified by the latest SET ENVIRONMENT command. If no SET ENVIRONMENT command has been entered, the command is executed only on the node where the command was issued.
Note
In environments that do not support clustering, the /CLUSTER qualifier causes the relevant command to be executed on the local node only./CONFIGURATION
/NOCONFIGURATION (D)
Specifies that the facility configuration is to be displayed. The configuration information indicates the role of the node where the command is executed, and whether:
- Router callout servers or backend callout servers have been configured
- Load balancing has been configured
- Quorum check is being handled on this node
- Reply consistency check for replayed messages is enabled
/COUNTER[=counter-name]
/NOCOUNTER (D)
Specifies that the facility counters are displayed. Counter-name is the name of the counter. If counter-name is omitted, all counters are displayed. Counter-name may contain wildcard characters./FULL
/NOFULL (D)
Equivalent to specifying /CONFIGURATION , /STATE and /LINK ./LINKS
/NOLINKS (D)
Lists all links to connected nodes in the facility (including the node where the command is executed).If the /BRIEF qualifer is used, SHOW FACILITY/LINKS/BRIEF, the facility name is displayed, followed by one or more lines showing the name of each link followed by the link's roles and their status in parentheses.
RTR> SHOW FACILITY/LINKS/BRIEF Facilities on node NODEA at Wed Nov 03 11:115:47 1999 BOVRIL (Backend coordinator, Router quorate, Frontend connected>Backend nodes can be either connected, quorate, or coordinator. Router nodes can be either connected, quorate, or current (current is only seen from a frontend).
If the /BRIEF qualifier is not used, the following information is shown for each link:
- Whether the node on this link is active as frontend, router or backend roles.
- What kind link is active, that is:
- frontend to router
- router to frontend
- router to backend
- backend to router
- Whether the router and backend roles are quorate
- Whether the router role is the current router for the frontend
- Whether the backend role is acting as a load balancing coordinator
/NODE[=node-list]
/NODE=default-node (D)
Specifies that the command is executed on all nodes specified in node-list . If node-list is omitted, the command is executed only on the node where the command was issued./OUTPUT[=filespec]
/OUTPUT=stdout (D)
Specifies that the resulting information is written to the file filespec . If /OUTPUT or filespec is omitted, the standard or default output is used./STATE
/NOSTATE(D)
Specifies that the state of the facility is displayed.On nodes having a backend or router role, the quorum status is shown. Also, the current quorum threshold is shown (default quorum value is shown as zero), and the minimum broadcast rate (if it has been set).
On a frontend, this qualifier can be used to find out whether the node is currently connected to a router.
RTR> SHOW FACILITY/FULL/NODE=BRONZE (1) Facility: FUNDS_TRANSFER (2) Configuration:- (3) Frontend: no Router: yes Backend: yes Router call-out: no Backend call-out: no Load balance: no Quorum-check off: no State:- (4) FE -> TR: unused Router quorate: yes Backend quorate: yes Quorum threshold: 0 Min broadcast rate: 0 Links:- (5) Link to: bronze Frontend: no Router: yes Backend: yes Router -> Frontend:no Frontend -> Router: no Backend -> Router: yes Router -> Backend: yes Router quorate: yes Backend quorate: yes Router current: no Backend coordinator:yes Link to: airola (6) Frontend: yes Router: no Backend: no Router -> Frontend:yes Frontend -> Router: no Backend -> Router: no Router -> Backend: no Router quorate: no Backend quorate: no Router current: no Backend coordinator: no |
- Shows all facilities in detail.
- Facility's name.
- Facility's configured roles on this node. In this example, the node is a router and a backend; load balancing, router callouts and backend callouts are not enabled.
- Facility's state. The router and backend roles are quorate. (Quorate means that this node's view of the availability of the other nodes in the configuration matches that of the other backends and routers. A facility that is not in the quorate state is effectively unusable.) The quorum threshold is at the default (zero) and no minimum broadcast rate has been set.
- Facility's links. The first link shown (to node bronze i.e. itself) shows that it is a router, connected to the backend, and the router is quorate. The router is not current because there is no frontend on this connection. The link is also a backend, connected to the router, and this backend is quorate. This backend would also be the backend coordinator if load balancing was enabled.
- Second link shown (to node airola) shows that it is a frontend, and is a frontend to router connection.
RTR> SHOW FACILITY/BALANCE Facilities: Facility: RTR$DEFAULT_FACILITY Load:- Frontends connected: 1 Frontends allowed: 1 Load coordinator: yes Quorate routers: 1 Total Frontends: 1 Current Credit: 1 FE -> TR: - |
This display shows the load balancing status. This node is the current load coordinator.
The SHOW JOURNAL command displays information about current RTR journal files.
SHOW JOURNAL
Command Qualifiers | Defaults |
---|---|
/CLUSTER | /NOCLUSTER |
/FILENAMES | /NOFILENAMES |
/FULL | /NOFULL |
/NODE[=node-list] | /NODE=default-node |
/OUTPUT[=filespec] | /OUTPUT=stdout |
The SHOW JOURNAL command shows the disks where the RTR journal files reside, and (optionally) the maximum and allocated number of blocks for each journal file and the journal file name.
/CLUSTER
/NOCLUSTER (D)
Specifies that the command is executed on all the nodes in the cluster.If neither /NODE nor /CLUSTER is specified, the command is executed on the nodes specified by the latest SET ENVIRONMENT command. If no SET ENVIRONMENT command has been entered, the command is executed only on the node where the command was issued.
Note
In environments that do not support clustering, the /CLUSTER qualifier causes the relevant command to be executed on the local node only./FILENAMES
/NOFILENAMES (D)
/FILE adds the journal file names to the display./FULL
/NOFULL (D)
/FULL adds to the display the maximum and allocated number of blocks for each journal file./NODE[=node-list]
/NODE=default-node (D)
Specifies that the command is executed on all nodes specified in node-list . If node-list is omitted, the command is executed only on the node where the command was issued./OUTPUT[=filespec]
/OUTPUT=stdout (D)
Specifies that the resulting information is written to the file filespec . If /OUTPUT or filespec is omitted, the standard or default output is used.
RTR> SHOW JOURNAL/FULL/FILENAMES (1) RTR journal:- (2) (3) (4) (5) (6) Disk(1): /dev/rz3a Blocks: 1500 Allocated: 1502 Maximum: 3000 File(1): /dev/rz3a /rtrjnl/SYSTEM/BRONZE.J01(7) Disk(2): /dev/rz2c Blocks: 1500 Allocated: 1502 Maximum: 3000 File(2): /dev/rz2c /usr/users/rtrjnl/SYSTEM/BRONZE.J11 |
Previous Next Contents Index